jenkins-bot has submitted this change and it was merged.

Change subject: Disable special casing of main page where it is not required
......................................................................


Disable special casing of main page where it is not required

This feature continues to confuse people and its demise should be
accelerated rather than encouraged.

Plan is to disable config variable where the feature is not being used
to make it more obvious where changes need to be made.

* Disable on wikidata
* Disable on Wikitionary's not using the main page special casing
(via audit)
* Disable on Wikiquote's not using the main page special casing

Change-Id: I68090845d48b8598592b7c9a19943e9d60529239
---
A dblists/mobilemainpagelegacy.dblist
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
3 files changed, 75 insertions(+), 1 deletion(-)

Approvals:
  MaxSem: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/dblists/mobilemainpagelegacy.dblist 
b/dblists/mobilemainpagelegacy.dblist
new file mode 100644
index 0000000..36749e9
--- /dev/null
+++ b/dblists/mobilemainpagelegacy.dblist
@@ -0,0 +1,66 @@
+hrwikiquote
+enwikiquote
+frwikiquote
+nlwikiquote
+dewikiquote
+dawikiquote
+zhwikiquote
+ruwikiquote
+tewikiquote
+tawikiquote
+etwikiquote
+trwikiquote
+ptwikiquote
+suwikiquote
+rowikiquote
+urwikiquote
+itwikiquote
+eswikiquote
+alswikiquote
+crwikiquote
+cswikiquote
+nawikiquote
+sawikiquote
+viwikiquote
+kawikiquote
+astwiktionary
+cawiktionary
+nlwiktionary
+zhwiktionary
+hrwiktionary
+jawiktionary
+mswiktionary
+simplewiktionary
+svwiktionary
+enwiktionary
+etwiktionary
+hiwiktionary
+idwiktionary
+ugwiktionary
+ltwiktionary
+mlwiktionary
+trwiktionary
+dewiktionary
+elwiktionary
+plwiktionary
+fawiktionary
+orwiktionary
+ruwiktionary
+tawiktionary
+uzwiktionary
+dawiktionary
+iowiktionary
+viwiktionary
+cswiktionary
+biwiktionary
+fiwiktionary
+frwiktionary
+gnwiktionary
+alswiktionary
+vecwiktionary
+lbwiktionary
+pnbwiktionary
+akwiktionary
+ptwiktionary
+crwiktionary
+skwiktionary
\ No newline at end of file
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 77f6b6c..3e971ea 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -166,7 +166,7 @@
        foreach ( [ 'private', 'fishbowl', 'special', 'closed', 'flow', 
'flaggedrevs', 'small', 'medium',
                        'large', 'wikimania', 'wikidata', 'wikidataclient', 
'visualeditor-default',
                        'commonsuploads', 'nonbetafeatures', 'group0', 
'group1', 'group2', 'wikipedia', 'nonglobal',
-                       'wikitech', 'nonecho'
+                       'wikitech', 'nonecho', 'mobilemainpagelegacy'
                ] as $tag ) {
                $dblist = MWWikiversions::readDbListFile( $tag );
                if ( in_array( $wgDBname, $dblist ) ) {
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 287f1b6..37216a6 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -14242,6 +14242,14 @@
        'wikivoyage' => [ 'h2', 'h3', 'h4', 'h5', 'h6' ], // T110436, T110837
 ],
 
+'wgMFSpecialCaseMainPage' => [
+       'default' => true,
+       'wikidata' => false,
+       'wikiquote' => false, // T138129
+       'wiktionary' => false, // T138129
+       'mobilemainpagelegacy' => true,
+],
+
 'wgMFRemovableClasses' => [
        'default' => [
                'base' => [ '.navbox', '.nomobile' ],

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I68090845d48b8598592b7c9a19943e9d60529239
Gerrit-PatchSet: 7
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com>
Gerrit-Reviewer: MaxSem <maxsem.w...@gmail.com>
Gerrit-Reviewer: Reedy <re...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to