r53906 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r53905
|
r53906
|
r53907
>
Date:
21:32, 28 July 2009
Author:
brion
Status:
ok (
Comments
)
Tags:
Comment:
Check $wgServer instead of config-local $secure global to avoid borking local installs with the live hack
Modified paths:
/branches/wmf-deployment/api.php
(modified) (
history
)
Diff
[
purge
]
Index: branches/wmf-deployment/api.php
—
—
@@ -59,7 +59,7 @@
60
60
61
61
// Live-hack to let api.php work with secure.wikimedia.org
62
62
// Andrew 2009-06-17
63
-if ($secure) {
63
+if (substr( $wgServer, 0, 5 ) == 'https') {
64
64
$url = "/$site/$lang$url";
65
65
}
66
66
// End live hack
Comments
#
Comment by
Brion VIBBER
(
talk
|
contribs
)
00:41, 15 September 2009
Has been superseded, no need to reapply.
Status & tagging log
00:41, 15 September 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
tags
for r53906
[
removed:
reapply]
20:55, 14 September 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
tags
for r53906
[
added:
reapply]
20:55, 14 September 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r53906
[
removed:
new
added:
ok]