As API shows currently on ro.wiki canonical namespaces are mixed: a part is in default format, other part is localized. It's necessary to do a uniformization by setting default canonicals for 101 (Portal talk), 110 (Book) and 111 (Book talk).
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
rowiki: Use Romanian canonical name | operations/mediawiki-config | master | +14 -14 | |
rowiki: Fix canonical namespaces | operations/mediawiki-config | master | +13 -10 |
Event Timeline
@XXN Could you create a table or a list with the number of namespaces to fix, and for each of them, the name of the main name of the namespace and the aliases?
If I understand the issue, you wish to harmonize following these rules:
- canonical namespace name is English
- localized namespace alias in Romanian
If so, you would like this:
NS | Main name | Aliases |
101 | Portal talk | Discu\u021bie Portal |
110 | Book | Carte |
111 | Book talk | Discu\u021bie Carte |
@XXN Wondering if any similar changes need to be taken for other namespaces:
id | Canonical | Alias |
102 | Proiect | ? |
103 | Discuție_Proiect | ?_talk |
108 | Cod | ? |
109 | Discuție_Cod | ?_talk |
Change 789974 had a related patch set uploaded (by Stang; author: Stang):
[operations/mediawiki-config@master] rowiki: Fix canonical namespaces
Change 789974 merged by jenkins-bot:
[operations/mediawiki-config@master] rowiki: Fix canonical namespaces
Mentioned in SAL (#wikimedia-operations) [2022-05-09T13:29:06Z] <taavi@deploy1002> Synchronized wmf-config/InitialiseSettings.php: Config: [[gerrit:789974|rowiki: Fix canonical namespaces (T127607)]] (duration: 00m 51s)
taavi@mwmaint1002 ~ $ mwscript namespaceDupes.php --wiki rowiki --fix 0 pages to fix, 0 were resolvable. pagelinks from=906449 ns=0 dbk=Portal_talk:Poland/Selected_article -> Portal_talk:Poland/Selected_article pagelinks from=906453 ns=0 dbk=Portal_talk:Poland/Selected_biography -> Portal_talk:Poland/Selected_biography pagelinks from=906457 ns=0 dbk=Portal_talk:Poland/Selected_location -> Portal_talk:Poland/Selected_location pagelinks from=906465 ns=0 dbk=Portal_talk:Poland/Selected_picture -> Portal_talk:Poland/Selected_picture pagelinks from=2881804 ns=0 dbk=Code:Breaker -> Code:Breaker pagelinks from=2881852 ns=0 dbk=Code:Breaker -> Code:Breaker pagelinks from=1157715 ns=0 dbk=Code:_9 -> Code:9 7 links to fix, 7 were resolvable, 0 were deleted. Looks good!
@Stang you seem to have removed the Romanian versions (see the API call in the bug description) and now Proiect:Cod Wikipedia redirects to WikiProject:Cod Wikipedia and Cod:SIRUTA:10 sends to Code:SIRUTA:10. Could you please make sure the Romanian versions are the defaults and the English only alternatives? Thank you.
@Strainu Apologize for the misunderstanding! Is the following table the correct names and aliases?
ID | Canonical | Alias |
101 | Discuţie_Portal | Portal_talk |
102 | Proiect | WikiProject |
103 | Discuţie_Proiect | WikiProject_talk |
108 | Cod | Code |
109 | Discuție_Cod | Code_talk |
110 | Carte | Book |
111 | Discuţie_Carte | Book_talk |
Change 793999 had a related patch set uploaded (by Stang; author: Stang):
[operations/mediawiki-config@master] rowiki: Use Romanian canonical name
Change 793999 merged by jenkins-bot:
[operations/mediawiki-config@master] rowiki: Use Romanian canonical name
Mentioned in SAL (#wikimedia-operations) [2022-05-23T13:40:59Z] <tgr@deploy1002> Synchronized wmf-config/InitialiseSettings.php: Config: [[gerrit:793999|rowiki: Use Romanian canonical name (T127607)]] (duration: 00m 50s)