Reedy has submitted this change and it was merged.

Change subject: (bug 44308) Add new namespaces and aliases on zhwikibooks
......................................................................


(bug 44308) Add new namespaces and aliases on zhwikibooks

This commit does three things:
* (1) It adds 'CAT' as an alias for NS_CATEGORY;
* (2) It adds 'Wikijunior' and 'Subject' namespaces with their
respective talk namespaces as 110 and 112;
* (3) It adds three different aliases (in traditional Chinese,
simplified Chinese and two-letter abbreviations) for each new
namespace.

Note: there are currently around 190 pages in the main namespace
that start with 'Wikijunior:', so we'll need to run the
NamespaceDupes.php script to fix them after merging this patch.

Bug: 44308
Change-Id: I01cfd92d434f5134c6864a0e89802863f031eefb
---
M wmf-config/InitialiseSettings.php
1 file changed, 13 insertions(+), 3 deletions(-)

Approvals:
  Reedy: Verified; Looks good to me, approved



diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 42ce6e9..cf29eed 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -3387,6 +3387,13 @@
                '维基教科书' => NS_PROJECT,
                '維基教科書' => NS_PROJECT,
                'WB' => NS_PROJECT,
+               'CAT' => NS_CATEGORY, // Bug 44308
+               '維基兒童' => 110, // Bug 44308
+               '维基儿童' => 110, // Bug 44308
+               'WJ' => 110, // Bug 44308, Wikijunior
+               '書架' => 112, // Bug 44308
+               '书架' => 112, // Bug 44308
+               'SB' => 112, // Bug 44308, Subject
        ),
        '+zhwikisource' => array(
                '作者' => 102, // Author
@@ -5820,10 +5827,13 @@
                106 => 'Nấu_ăn', // Cookbook
                107 => 'Thảo_luận_Nấu_ăn', // Cookbook talk
        ),
-       # Bug 40474
        'zhwikibooks' => array(
-               100 => 'Transwiki',
-               101 => 'Transwiki_talk',
+               100 => 'Transwiki', // Bug 40474
+               101 => 'Transwiki_talk', // Bug 40474
+               110 => 'Wikijunior', // Bug 44308
+               111 => 'Wikijunior_talk', // Bug 44308
+               112 => 'Subject', // Bug 44308
+               113 => 'Subject_talk', // Bug 44308
        ),
        // @} end of wikibooks
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I01cfd92d434f5134c6864a0e89802863f031eefb
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Odder <tom...@twkozlowski.net>
Gerrit-Reviewer: Dereckson <dereck...@espace-win.org>
Gerrit-Reviewer: Nemo bis <federicol...@tiscali.it>
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