dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
4a30020
)
Merge "Reduce RC table contention for file deletion"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 16 Jun 2015 00:12:43 +0000
(
00:12
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 16 Jun 2015 00:12:43 +0000
(
00:12
+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,