Page MenuHomePhabricator

zhwiktionary namespace aliases and more
Closed, ResolvedPublic

Description

  • New namespace:
    • Reconstruction (namespace 118) (please use similar setting as enwiktionary)
    • Reconstruction talk (namespace 119) (please use similar setting as enwiktionary)
  • New aliases:
    • Category → CAT
    • Template → T
    • Wiktionary → WT
    • (namespace 118, 119)
    • Reconstruction → 重建、重構、重构、RC
    • Reconstruction talk → 重建讨论、重構討論、重构讨论、重建討論
  • New role:
    • Template editor(模板编辑员)(please use the same setting as zhwiki)

Discussion: here.

Event Timeline

Hi, in the future, please follow https://meta.wikimedia.org/wiki/Requesting_wiki_configuration_changes when requesting such kinds of changes. Thanks!

Change 703480 had a related patch set uploaded (by Tks4Fish; author: Tks4Fish):

[operations/mediawiki-config@master] zhwiktionary: Add namespaces: *118 - Reconstruction *119 - Reconstruction Talk

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

Change 703481 had a related patch set uploaded (by Tks4Fish; author: Tks4Fish):

[operations/mediawiki-config@master] zhwiktionary: Add aliases for namespaces

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

Change 703482 had a related patch set uploaded (by Tks4Fish; author: Tks4Fish):

[operations/mediawiki-config@master] zhwiktionary: Add templateeditor right

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

@Tks4Fish I'm OK with the patches. Do we need to do something about existing WT:BEER, etc?

@Tks4Fish I'm OK with the patches. Do we need to do something about existing WT:BEER, etc?

A script will fix the pages it can when deploying, and will move the ones it can't fix to something like BROKEN<page>. However, as this week is a WMF holiday, there'll be no deployments, and this patch will be pending until next week.

Change 703480 merged by jenkins-bot:

[operations/mediawiki-config@master] zhwiktionary: Add Reconstruction namespace

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

Change 703481 merged by jenkins-bot:

[operations/mediawiki-config@master] zhwiktionary: Add aliases for namespaces

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

Mentioned in SAL (#wikimedia-operations) [2021-07-12T23:07:37Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: ba0967f5c18652d02b7b476e9592b81dcb9b74fc: zhwiktionary: Add Reconstruction namespace (T286101) (duration: 00m 57s)

Change 703482 merged by jenkins-bot:

[operations/mediawiki-config@master] zhwiktionary: Add templateeditor right

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

Mentioned in SAL (#wikimedia-operations) [2021-07-12T23:12:31Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: 5822b2be129b934939af46bab5b8916039661e97: zhwiktionary: Add aliases for namespaces (T286101) (duration: 00m 57s)

Mentioned in SAL (#wikimedia-operations) [2021-07-12T23:15:49Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: 5ab00d188bc4161e40455b842f613698548b3518: zhwiktionary: Add templateeditor right (T286101) (duration: 00m 57s)

Mentioned in SAL (#wikimedia-operations) [2021-07-12T23:15:57Z] <urbanecm> urbanecm@mwmaint1002:~$ mwscript namespaceDupes.php --wiki=zhwiktionary --fix --add-prefix=BROKEN # T286101, P16817

Fixing script used to move pages starting with the namespace/alias to the new namespace finished, and unfortunately found four conflicting pages:

wikiadmin@10.192.32.31(zhwiktionary)> select page_id, page_namespace, page_title from page where page_title like "BROKEN%";
+---------+----------------+--------------------+
| page_id | page_namespace | page_title         |
+---------+----------------+--------------------+
|   64546 |              4 | BROKENBOT          |
| 1426299 |              4 | BROKENMOS          |
| 1449876 |              4 | BROKENSTAT         |
| 1423061 |              4 | BROKEN新词推荐     |
+---------+----------------+--------------------+
4 rows in set (0.47 sec)

wikiadmin@10.192.32.31(zhwiktionary)>

All three are in NS_PROJECT (ie. the Wiktionary: namespace). Please review them and move/delete as appropriate.