Jdlrobson has uploaded a new change for review.

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

Change subject: Avoid legacy overhead in mobile web experience
......................................................................

Avoid legacy overhead in mobile web experience

Avoid request overhead for legacy modules by
disabling them in the mobile web domain.
See also  I9e6342bf71b7204c76db5bd066167a729596f908

Change-Id: Ie676caa0b8f60e3d33c88dfbfceb7bc435ab8f47
---
M wmf-config/mobile.php
1 file changed, 4 insertions(+), 0 deletions(-)


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

diff --git a/wmf-config/mobile.php b/wmf-config/mobile.php
index 4654473..74a3cdc 100644
--- a/wmf-config/mobile.php
+++ b/wmf-config/mobile.php
@@ -17,6 +17,10 @@
        $wgMFDisplayWikibaseDescription = $wmgMFDisplayWikibaseDescription;
        $wgMFMobileFormatterHeadings = $wmgMFMobileFormatterHeadings;
 
+       // Disable legacy variables in the mobile web experience
+       $wgIncludeLegacyJavaScript = false;
+       $wgPreloadJavaScriptMwUtil = false;
+
        if ( $wmgMobileFrontendLogo ) {
                $wgMobileFrontendLogo = $wmgMobileFrontendLogo;
        }

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

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

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

Reply via email to