MaxSem has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/59821


Change subject: Another $wgMFVaryResources fix
......................................................................

Another $wgMFVaryResources fix

Change-Id: Iffa9f7d553d116550d172968ee0adb1891571861
---
M wmf-config/mobile.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/21/59821/1

diff --git a/wmf-config/mobile.php b/wmf-config/mobile.php
index 231ff4f..09b9bc5 100644
--- a/wmf-config/mobile.php
+++ b/wmf-config/mobile.php
@@ -132,7 +132,7 @@
 
        // Enable $wgMFVaryResources only if there's a mobile site (otherwise 
we'll end up
        // looking for X-WAP headers in requests coming from Squid
-       if ( $wmgMFVaryResources && $wgMobileUrlTemplate !== '' ) {
+       if ( $wmgMFVaryResources && $wmgMobileUrlTemplate !== '' ) {
                $wgMFVaryResources = true;
                $wgExtensionFunctions[] = 'wmfSetupMobileLoadScript';
        }

-- 
To view, visit https://gerrit.wikimedia.org/r/59821
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iffa9f7d553d116550d172968ee0adb1891571861
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to