jenkins-bot has submitted this change and it was merged.
Change subject: Oh heh facepalm
......................................................................
Oh heh facepalm
Change-Id: I4f1499cf481d831147ffed3de3e96596d0e209d0
---
M wmf-config/mobile.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
MaxSem: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/wmf-config/mobile.php b/wmf-config/mobile.php
index 73ada0d..d2a3d8f 100644
--- a/wmf-config/mobile.php
+++ b/wmf-config/mobile.php
@@ -176,7 +176,7 @@
$wgMFVaryResources = true;
// Point mobile load.php requests to a special path on bits that gets
X-Device headers
$wgHooks['EnterMobileMode'][] = function() {
- global $wgLoadScript;
+ global $wgDBname, $wgLoadScript;
if ( $wgDBname === 'testwiki' ) {
// testwiki's resources aren't loaded from bits, it
just needs a mobile domain
$wgLoadScript = '//test.m.wikipedia.org/w/load.php';
--
To view, visit https://gerrit.wikimedia.org/r/58681
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4f1499cf481d831147ffed3de3e96596d0e209d0
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits