Page MenuHomePhabricator

Request to change namespaces of zh wikiquote
Closed, ResolvedPublic

Description

Add abbrs:

WQ、wq → Wikiquote
WT → Wikiquote talk
T → Template
H → Help
CAT、cat → Category

Fix namespaces:

Wikiquote:
  zh-hans→ 维基语录
  zh-hant→ 維基語錄
Wikiquote talk:
  zh-hans→ 维基语录讨论
  zh-hant→ 維基語錄討論

Module:
  zh-hans→模块
  zh-hant→模組
Module talk:
  zh-hans→模块讨论
  zh-hant→模組討論

https://zh.wikiquote.org/wiki/Wikiquote:互助客栈#命名空間語首縮寫相關討論

Event Timeline

Aklapper renamed this task from Request to change namespaces of zh wikiquotel to Request to change namespaces of zh wikiquote.Nov 27 2017, 10:51 AM
Urbanecm triaged this task as Medium priority.
Urbanecm subscribed.

Will do.

Change 393835 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] Add NS aliases for zh_wikiquote

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

Framawiki subscribed.

Dummy question, but what about Fix namespaces that is present in the desc but not in the patch ?

Dummy question, but what about Fix namespaces that is present in the desc but not in the patch ?

Just because I wanted to split it into two patches (add an alias and change namespace is slightly different even done in same file) and...didn't upload the second one. Mea culpa, I'm sorry.

Hello @Zest,
I'm trying to re-understand your second part of your request. What do you want from us regarding the fix-namespaces part? I'm looking into our configuration files and there is everything set as described in your request. For example the 'Module' namespace. The corresponding config file should be gerrit://mediawiki/extensions/Scribunto/Scribunto.namespaces.php. There indeed are correct values set, see corresponding lines below.

$namespaceNames['zh'] = [
        828 => '模块',
        829 => '模块讨论',
];

$namespaceNames['zh-hans'] = [
        828 => '模块',
        829 => '模块讨论',
];

$namespaceNames['zh-hant'] = [
        828 => '模組',
        829 => '模組討論',
];

Can you tell me once again what shoud be fixed?

Best,
Martin Urbanec

Just because I wanted to split it into two patches (add an alias and change namespace is slightly different even done in same file) and...didn't upload the second one. Mea culpa, I'm sorry.

No problem, take your time :)

AdUpcdB.png (442×996 px, 136 KB)

Like it , in zh-tw (zh-hant)
Left: creating $1, $1 is "模块讨论:" it need display "模塊討論:"
Right WQ:VP ,Title display "维基语录:互助客棧" in zh-hans ,it need display "維基語錄:互助客棧"

Change 393835 merged by jenkins-bot:
[operations/mediawiki-config@master] Add NS aliases for zh_wikiquote

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

Mentioned in SAL (#wikimedia-operations) [2017-12-12T14:18:12Z] <zfilipin@tin> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:393835|Add NS aliases for zh_wikiquote (T181374)]] (duration: 00m 56s)

Urbanecm removed a project: User-Urbanecm.

I have no clue what I should do next.

There are several pages that started with WQ: at the main namespace. These pages are unable to access after the alias are established. Please clean them up. Thank you.

For example, WQ:CSD and WQ:SD.

Please delete these pages, because admin can't delete them via interface. (quarry 24856)

page_id page_title
21668CAT:SD
13195WQ:ACCOUNT
13301WQ:ADMIN
20210WQ:AN
13193WQ:AUTOCONFIRMED
20201WQ:BCRAT
19515WQ:BOT
20368WQ:COMM
20206WQ:CSD
20223WQ:IMPORT
20224WQ:IMPORTER
20225WQ:IPT
13286WQ:NOT
8959WQ:QOTD
20493WQ:QOTD2017
13196WQ:REG
20204WQ:RFA
20205WQ:RFD
20222WQ:RTBI
13401WQ:SB
20207WQ:SD
20200WQ:SYSOP
13399WQ:TEMP
13400WQ:TMP
20208WQ:VP
Rxy moved this task from Site configuration to Closed on the Chinese-Sites board.

Usually should be executed "namespaceDupes.php" after SWAT. but didn't that.
I moved those pages using api with "noredirect" option.