From d3d9c5e40feb22805a3a6bb168fae6a276afc0ae Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 22 Dec 2011 08:33:37 +0000 Subject: [PATCH] Make apibase of $wgForeignFileRepos (InstantCommons) protocol relative too --- includes/Setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1