Fix fixme on r107328, attempting to use $this in a static method
[lhc/web/wiklou.git] / includes / Setup.php
index 56b00aa..724e868 100644 (file)
@@ -192,7 +192,7 @@ if ( $wgUseInstantCommons ) {
        $wgForeignFileRepos[] = array(
                'class'                   => 'ForeignAPIRepo',
                'name'                    => 'wikimediacommons',
-               'apibase'                 => 'http://commons.wikimedia.org/w/api.php',
+               'apibase'                 => '//commons.wikimedia.org/w/api.php',
                'hashLevels'              => 2,
                'fetchDescription'        => true,
                'descriptionCacheExpiry'  => 43200,