I'm forking this request from bug 31459{T33459}, to avoid confusion.
Currently, if we setup a new wiki using MW 1.18 and set `$wgLanguageCode = "pt"`, and then create an user account "Female", and its user and user talk pages, we will have all the following links pointing to its user and user talk pages:
$wgLanguageCode = "pt"* `[[User:Female]]` / `[[User talk:Female]]`
, and then create an user account "Female", and its user and user talk pages, we will have all the following links pointing to its user and user talk pages:* `[[Utilizador:Female]]` / `[[Utilizador Discussão:Female]]`
* [[User* `[[Utilizadora:Female]] / [[User talk` / `[[Utilizadora Discussão:Female]]`
* [[Utilizador:Female]] / [[Utilizador Discussão:Female]]
* [[Utilizadora:Female]] / [[Utilizadora Discussão:Female]]
* [[Usuário:Female]] / [[Usuário Discussão:Female]]`[[Usuário:Female]]` / `[[Usuário Discussão:Female]]`
and the title text of all links will be the same "Utilizadora:Female" / "Utilizadora Discussão:Female". This is the expected behavior.
But there are more links which, for consistency, should be working by default on any MediaWiki installation (even outside Wikimedia world), and currently doesn't:
* * `[[Usuária:Female]] / ` / `[[Usuária Discussão:Female]]`
At the moment, both links point to pages on NS_MAIN, instead of the corresponding NS_USER and NS_USER_TALK pages.
Besides, the current default text of `NS_USER` and NS_USER_TALK namespaces for users having "undisclosed" gender is "Utilizador" and "Utilizador Discussão", respectively, but this corresponds to the "Male" form. When we don't know what is the gender of someone (very common in the case of new users), we prefer to use "Utilizador(a)" (or "Usuário(a)" if we are from Brazil). So, the default namespace names should also be changed so that
* If `$wgLanguageCode = "pt"`, MediaWiki shows by default:
** NS_USER = "Utilizador(a)"
** NS_USER_TALK = "Utilizador(a) Discussão"
* If `$wgLanguageCode = "pt-br"`, MediaWiki shows by default:
** NS_USER = "Usuário(a)"
** NS_USER_TALK = "Usuário(a) Discussão"
These changes are valid for every wiki (except ptwiki, which uses `$wgLanguageCode = "pt"` but prefer to have the pt-BR version of the names by default, i.e. the "Usuári..." instead of "Utilizador...").
--------------------------
**Version**: 1.18.x
**Severity**: normal