Jdlrobson has uploaded a new change for review.

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

Change subject: Default wgMFSpecialCaseMainPage to false
......................................................................

Default wgMFSpecialCaseMainPage to false

We should discourage usage of this starting now.

Bug: T32405
Change-Id: I8269b48b2becf1fdb77b1db018a86b5296ea4082
---
M README.md
M extension.json
2 files changed, 7 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/74/295774/1

diff --git a/README.md b/README.md
index d1910f9..2b716a3 100644
--- a/README.md
+++ b/README.md
@@ -180,11 +180,14 @@
 Default: array( 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' );
 
 ##### $wgMFSpecialCaseMainPage
-If set to true, main page HTML will receive special massaging that removes 
everything
-but a few select pieces.
+If set to true, main page HTML will receive special massaging.
+See https://m.mediawiki.org/wiki/Mobile_Gateway/Mobile_homepage_formatting
+
+Use is discouraged as it leads to unnecessary technical debt and on the long 
term the goal
+is to deprecate usage of this config variable. Use at your own risk!
 
 Type: Boolean
-Default: true;
+Default: false;
 
 ##### $wgMinervaEnableSiteNotice
 Controls whether site notices should be shown.
diff --git a/extension.json b/extension.json
index dc29546..d5f7a1f 100644
--- a/extension.json
+++ b/extension.json
@@ -1990,7 +1990,7 @@
                        "h5",
                        "h6"
                ],
-               "MFSpecialCaseMainPage": true,
+               "MFSpecialCaseMainPage": false,
                "MinervaEnableSiteNotice": false,
                "MFTidyMobileViewSections": true,
                "MFMobileHeader": "X-WAP",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8269b48b2becf1fdb77b1db018a86b5296ea4082
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
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