(bug 21638) Set hashLevels to 2 like commons, just in case
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 25 Nov 2009 18:02:03 +0000 (18:02 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 25 Nov 2009 18:02:03 +0000 (18:02 +0000)
includes/Setup.php

index 1e4bc0e..f0cfc99 100644 (file)
@@ -133,6 +133,7 @@ if( $wgUseInstantCommons ) {
                'class'                   => 'ForeignAPIRepo',
                'name'                    => 'wikimediacommons',
                'apibase'                 => 'http://commons.wikimedia.org/w/api.php',
+               'hashLevels'              => 2,
                'fetchDescription'        => true,
                'descriptionCacheExpiry'  => 43200,
                'apiThumbCacheExpiry'     => 86400,