Page MenuHomePhabricator

Multiple inconsistent User namespaces at Altai Wikipedia (Участница vs Туружаачы)
Closed, ResolvedPublicBUG REPORT

Description

Hello. There is a problem with Altai Wikipedia. There are multiple names for one namespace, namely the ”User” space. For example, my user page called [[Участник:Soul Train]]. The word “Участник” is Russian, from RU-interface. One of the most active users, Bakpay, has UP [[Участница:Bakpay]]. “Участница” is also Russian form, but the female form (like ”Usuaria” in Spanish Wikipedia or “Benutzerin” in German Wikipedia). And my colleague, administrator Tolush (Толуш), has UP [[Туружаачы:Толуш]]. “Туружаачы” is Altai word for “User”, and they have no female form (like in English Wikipedia). This mixing of languages is a bug itself, but it also causes the malfunction of the Markadmin gadget — it marks only one administrator (me or Tolush depending on the gadget code or settings). Could you fix it and leave only the Altai form “Туружаачы” for everybody?

Event Timeline

Aklapper renamed this task from Multiple names for User namespace at Altai Wikipedia to Multiple inconsistent User namespaces at Altai Wikipedia (Участница vs Туружаачы).Sep 1 2021, 2:10 PM
Aklapper changed the subtype of this task from "Task" to "Bug Report".

@Soul_Train: Thanks for reporting this. For future reference, please use the bug report form (linked from the top of the task creation page) to create a bug report.
Let's see what we have...

  • In MediaWiki core, we have ./languages/messages/MessagesAlt.php: NS_USER => 'Туружаачы',

This makes me wonder if maybe namespaceDupes.php (?) wasn't run after T271981 to update existing accounts (?) from (Russian) language fallback chains.

Change 716017 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/core@master] Remove russion gender aliases from MessagesAlt

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

Thats how language fallback works in mediawiki. It also shows the gender support from russian in the languages using russian as fallback.

It is possible to remove the gender aliases, like done in some other languages with fallback of russian. I have uploaded a patch set.

By the way, when we switch to the Altai interface/language in “Preferences/User profile”, there is no form for “Use feminine terms when possible (e.g. "her contributions")”, only “Unspecified” and “Use masculine terms when possible (e.g. "his contributions")” — I think its another bug, but you should know.

By the way, when we switch to the Altai interface/language in “Preferences/User profile”, there is no form for “Use feminine terms when possible (e.g. "her contributions")”, only “Unspecified” and “Use masculine terms when possible (e.g. "his contributions")” — I think its another bug, but you should know.

The translation for both genders are the same, which makes it fail to display:

alt.json
	"gender-male": "Ол вики бӱктерди тӱзедет",
	"gender-female": "Ол вики бӱктерди тӱзедет",

Please adjust the translation on translatewiki.net

Please adjust the translation on translatewiki.net

Thank you, I have corrected it according to the dictionary, but tomorrow native speakers will look and clarify the translation.

Thats how language fallback works in mediawiki. It also shows the gender support from russion in the languages using russion as fallback.

@Umherirrender: Ah, thanks a lot! I'm still surprised why User:X sometimes redirects to Туружаачы: and sometimes to Участница: though (if you have a spare minute to share your knowledge).

Change 716017 merged by jenkins-bot:

[mediawiki/core@master] Remove Russian gender aliases from MessagesAlt.php

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

Thats how language fallback works in mediawiki. It also shows the gender support from russion in the languages using russion as fallback.

@Umherirrender: Ah, thanks a lot! I'm still surprised why User:X sometimes redirects to Туружаачы: and sometimes to Участница: though (if you have a spare minute to share your knowledge).

Туружаачы is the translation for user namespace for lang=alt. It is also used for the unknown gender, while Участница is the female gender alias (from lang=ru) and is used for users which have changed the gender preference to female.
The user pages reflects the gender in the namespace part when linking.

MessagesRu.php
$namespaceGenderAliases = [
	NS_USER      => [ 'male' => 'Участник', 'female' => 'Участница' ],
	NS_USER_TALK => [ 'male' => 'Обсуждение_участника', 'female' => 'Обсуждение_участницы' ],
];
MessagesAlt.php
$namespaceNames = [
  ...
	NS_USER             => 'Туружаачы',
	NS_USER_TALK        => 'Туружаачыны_шӱӱжери',
  ...
];

https://www.mediawiki.org/wiki/Manual:$wgExtraGenderNamespaces

The extra for this task is that lang=alt has lang=ru as fallback language and every i18n part which is not in lang=alt is used from lang=ru, like messages, missing translation for special pages or magic words, the dateformats, number formats, link trail and the gender namespace alias. Or from the default fallback lang=en, when lang=ru does not define something (like language converter, plural and grammar specials)

Ah, thanks so much. Very appreciated!

@Umherirrender Hi, I'm not sure if I understand the status of this task correctly -- is there something that still needs to be done?

I see this task is tagged Wikimedia-maintenance-script-run, I'm not sure why. namespaceDupes.php was mentioned few comments above; there are no changes that this script would perform if ran, see dry run below:

[urbanecm@mwmaint2002 ~]$ mwscript namespaceDupes.php --wiki=altwiki
0 pages to fix, 0 were resolvable.

0 links to fix, 0 were resolvable, 0 were deleted.

Looks good!
[urbanecm@mwmaint2002 ~]$

My patch is part of wmf/1.37.0-wmf.22, but there is no deployment yet - https://www.mediawiki.org/wiki/MediaWiki_1.37/Roadmap

I would not expect the script to be needed after the deployment, but it should not hurt to be safe.

Aklapper assigned this task to Umherirrender.

This seems to have been fixed by Umherirrender's patch.