dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
25970cd
)
Merge "Fix InstantCommons - HTTP access to Commons does not work anymore"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Mon, 15 Jun 2015 23:14:03 +0000
(23:14 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 15 Jun 2015 23:14:03 +0000
(23:14 +0000)
includes/Setup.php
patch
|
blob
|
history
diff --git
a/includes/Setup.php
b/includes/Setup.php
index
70c935d
..
8462f68
100644
(file)
--- a/
includes/Setup.php
+++ b/
includes/Setup.php
@@
-236,9
+236,7
@@
if ( $wgUseInstantCommons ) {
$wgForeignFileRepos[] = array(
'class' => 'ForeignAPIRepo',
'name' => 'wikimediacommons',
- 'apibase' => WebRequest::detectProtocol() === 'https' ?
- 'https://commons.wikimedia.org/w/api.php' :
- 'http://commons.wikimedia.org/w/api.php',
+ 'apibase' => 'https://commons.wikimedia.org/w/api.php',
'hashLevels' => 2,
'fetchDescription' => true,
'descriptionCacheExpiry' => 43200,