Page MenuHomePhabricator

Fix canonical namespaces for rowiki
Closed, ResolvedPublic

Description

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).

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:

NSMain name Aliases
101Portal talkDiscu\u021bie Portal
110BookCarte
111Book talkDiscu\u021bie Carte

If I understand the issue, you wish to harmonize following these rules:

  • canonical namespace name is English
  • localized namespace alias in Romanian

Yes.
Table presented by you is ok.

@XXN Wondering if any similar changes need to be taken for other namespaces:

idCanonicalAlias
102Proiect?
103Discuție_Proiect?_talk
108Cod?
109Discuție_Cod?_talk

Change 789974 had a related patch set uploaded (by Stang; author: Stang):

[operations/mediawiki-config@master] rowiki: Fix canonical namespaces

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

102 WikiProject
103 WikiProject talk
108 Code
109 Code talk

Change 789974 merged by jenkins-bot:

[operations/mediawiki-config@master] rowiki: Fix canonical namespaces

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

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!

Thanks Majavah!

@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?

IDCanonicalAlias
101Discuţie_PortalPortal_talk
102ProiectWikiProject
103Discuţie_ProiectWikiProject_talk
108CodCode
109Discuție_CodCode_talk
110CarteBook
111Discuţie_CarteBook_talk

Change 793999 had a related patch set uploaded (by Stang; author: Stang):

[operations/mediawiki-config@master] rowiki: Use Romanian canonical name

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

Yes, I believe that table is correct.

Change 793999 merged by jenkins-bot:

[operations/mediawiki-config@master] rowiki: Use Romanian canonical name

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

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)

Stang removed a project: Patch-For-Review.