Last modified: 2010-09-22 16:51:42 UTC
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.
Done.