From: Raimond Spekking Date: Thu, 22 Dec 2011 08:33:37 +0000 (+0000) Subject: Make apibase of $wgForeignFileRepos (InstantCommons) protocol relative too X-Git-Tag: 1.31.0-rc.0~25810 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=d3d9c5e40feb22805a3a6bb168fae6a276afc0ae;p=lhc%2Fweb%2Fwiklou.git Make apibase of $wgForeignFileRepos (InstantCommons) protocol relative too --- diff --git a/includes/Setup.php b/includes/Setup.php index 56b00aa514..724e868b33 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -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,