Page MenuHomePhabricator

Serbo-Croatian "User" and "User talk" namespace page titles aren't fully gender-sensitive
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue

  • Create a user page on Serbo-Croatian Wikipedia using neutral (default) or masculine gender. It will have the title "Korisnik:X" (as expected).
  • Go to Settings → Internationalization → Gender (direct link), and select feminine gender.
  • Now, go back to your user page.

What happens?
The URL is updated to the feminine gender (as expected), but the page title (first heading) is still "Korisnik:X".

What should have happened instead?
The page title (first heading) should be updated to "Korisnica:X".
The behavior should be similar to hrwiki (Croatian Wikipedia), where the page title is updated accordingly.

Event Timeline

"MessagesSh_latn.php" has its gender aliases set (here), but the main file "MessagesSh.php" is missing those aliases. Perhaps that can be the cause?

Just checked, that's not the cause.

Perhaps setting $wgExtraGenderNamespaces might fix this.

Change #1285467 had a related patch set uploaded (by Acamicamacaraca; author: Acamicamacaraca):

[operations/mediawiki-config@master] Gender namespaces on Serbo-Croatian Wikipedia

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

Hi @Aca the namespace page titles seem to work properly for me. The user namespace did properly display as "Korisnica" when I changed the settings to the feminine gender as shown below or am I missing something?

image.png (2,984×922 px, 388 KB)

@ToluAyo Thank you for your comment. As I wrote in the task description, you need to create a local userpage. After that, the bug is present.