Mattflaschen has uploaded a new change for review.

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

Change subject: Add missing extra namespaces from prod config to labs version
......................................................................

Add missing extra namespaces from prod config to labs version

These used to be inherited, so there are orphaned pages that
cause problems.

Bug: T111267
Change-Id: I8f4c0923d45c5e97c13f085636205a8ede3d9060
---
M wmf-config/InitialiseSettings-labs.php
1 file changed, 21 insertions(+), 2 deletions(-)


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

diff --git a/wmf-config/InitialiseSettings-labs.php 
b/wmf-config/InitialiseSettings-labs.php
index 574d0af..9c8690f 100644
--- a/wmf-config/InitialiseSettings-labs.php
+++ b/wmf-config/InitialiseSettings-labs.php
@@ -103,8 +103,27 @@
                ),
 
                '+wgExtraNamespaces' => array(
-                       'cawiki' => array( 190 => 'Flow_test', 191 => 
'Flow_test_talk' ),
-                       'enwiki' => array( 190 => 'Flow_test', 191 => 
'Flow_test_talk' ),
+                       // It doesn't seem to be possible to merge the 
individual entries
+                       // with their standard extra namespaces inherited from
+                       // InitialiseSettings.php, but I could be wrong.  So 
these are
+                       // copied from InitialiseSettings.php.
+                       'cawiki' => array(
+                               100 => 'Portal', 101 => 'Portal_Discussió',
+                               102 => 'Viquiprojecte', 103 => 
'Viquiprojecte_Discussió',
+                               190 => 'Flow_test', 191 => 'Flow_test_talk',
+                       ),
+                       'enwiki' => array(
+                               100 => 'Portal',
+                               101 => 'Portal_talk',
+                               # 106 => 'Table',
+                               # 107 => 'Table_talk',
+                               108 => 'Book',
+                               109 => 'Book_talk',
+                               118 => 'Draft', // T59569
+                               119 => 'Draft_talk',
+                               190 => 'Flow_test',
+                               191 => 'Flow_test_talk',
+                       ),
                ),
 
                '+wgNamespacesWithSubpages' => array(

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

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

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

Reply via email to