Page MenuHomePhabricator

User pages appear appear with different namespace names in tyv.wikipedia
Closed, ResolvedPublic

Description

The title of the user page https://tyv.wikipedia.org/wiki/User:Kaganer appears as "Участник:Kaganer", where "Участник" is a namespace name in Russian.

The title of the user page https://tyv.wikipedia.org/wiki/User:Agilight appears as "Aжыглакчы:Agilight", where "Aжыглакчы" is a namespace name in Tuvan.

I'd expect both of them to appear with "Aжыглакчы".

Perhaps it has something to do with gender aliases and Russian fallback:

  • If I set my gender in the preferences to "they" and make a null edit on my user page, it appears in Tuvan, "Aжыглакчы".
  • If I set it to "he" and make a null edit, it appears with the Russian masculine namespace name "Участник".
  • If I set it to "she" and make a null edit, it appears with the Russian feminine namespace name "Участница".

Gender aliases are irrelevant for Tuvan, and I'd expect it to appear as "Aжыглакчы" in all cases.

Related Objects

Event Timeline

Amire80 created this task.Jul 28 2020, 7:29 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 28 2020, 7:29 AM

I'd run

mwscript namespaceDupes.php --wiki=tyvwiki

to check for namespace conflicts that might be caused due to MessagesTyv.php updates or other extensions' localisation messages. Without further options that script does not write or perform any changes so it's safe to run.

Since you have restricted server access you can run that on mwmaint1002.

Umherirrender added a subscriber: Umherirrender.EditedJul 28 2020, 2:59 PM

The gender namespaces fallbacks. That means the language needs an empty array in the MessagesTyv.php like some other languages already have for the same reason.

See https://gerrit.wikimedia.org/g/mediawiki/core/+/659f18cc4afbccbde2f59939fe73254ec20f98aa for mor informationen
or see https://gerrit.wikimedia.org/r/c/mediawiki/core/+/105669

Change 616841 had a related patch set uploaded (by MarcoAurelio; owner: MarcoAurelio):
[mediawiki/core@master] Prevent gender aliases fallback in Tuvan language

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

Change 616841 merged by jenkins-bot:
[mediawiki/core@master] MessagesTyv.php: set $namespaceGenderAliases to an empty array

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

Change 617130 had a related patch set uploaded (by Reedy; owner: MarcoAurelio):
[mediawiki/core@REL1_35] MessagesTyv.php: set $namespaceGenderAliases to an empty array

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

Change 617130 merged by jenkins-bot:
[mediawiki/core@REL1_35] MessagesTyv.php: set $namespaceGenderAliases to an empty array

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

Amire80 closed this task as Resolved.Aug 9 2020, 6:45 AM
Amire80 assigned this task to MarcoAurelio.

Verified fix in production. Thanks!

Restricted Application added a project: User-MarcoAurelio. · View Herald TranscriptAug 9 2020, 6:45 AM

@Urbanecm Any chance namespaceDupes can be run to detect if there are still conflicts or broken links? Thanks!

@Urbanecm Any chance namespaceDupes can be run to detect if there are still conflicts or broken links? Thanks!

Sure! See below :).

1[urbanecm@mwmaint1002 ~]$ mwscript namespaceDupes.php --wiki=tyvwiki
20 pages to fix, 0 were resolvable.
3
40 links to fix, 0 were resolvable, 0 were deleted.
5
6Looks good!
7[urbanecm@mwmaint1002 ~]$