https://bugzilla.wikimedia.org/show_bug.cgi?id=25243

           Summary: Update link to Commons
           Product: Wikimedia
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: shell
          Severity: normal
          Priority: Normal
         Component: Site requests
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: maxsem.w...@gmail.com


>From CommonSettings.php:
if( $wgDBname != 'commonswiki' ) {
    $wgForeignFileRepos[] = array( 
        'class'            => 'ForeignDBViaLBRepo',
        'name'             => 'shared',
        'directory'        => '/mnt/upload6/wikipedia/commons',
        'url'              => 'http://upload.wikimedia.org/wikipedia/commons',
        'hashLevels'       => 2,
        'thumbScriptUrl'   => false,
        'transformVia404'  => true,
        'hasSharedCache'   => true,
        'descBaseUrl'      => 'http://commons.wikimedia.org/wiki/Image:',
        'scriptDirUrl'     => 'http://commons.wikimedia.org/w',
        'fetchDescription' => true,
        'wiki'             => 'commonswiki',
        'initialCapital'   => true,
        );

Please change 'descBaseUrl' to 'http://commons.wikimedia.org/wiki/File:', due
to namespace rename. This will save a few HTTP redrects.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to