Topic on Project:Village Pump

?? "utilisateur·rice" in FR title

8
Wladek92 (talkcontribs)

Hi all On my FR contribution page I see "Contributions de l’utilisateur·rice". .... dirty and ambigous . Either Im a boy and I should see "Contributions de l’utilisateur" or im a girl and I see "Contributions de l’utilisatrice" but not a mix of both (french decline according to the gender). I corrected at lowest cost using male version as default on translatewiki => https://translatewiki.net/wiki/MediaWiki:Contributions/fr but better should be to use the gender of the user as declared in his profile.

Dinoguy1000 (talkcontribs)

You can use {{GENDER}} on messages to have them adjust to the current viewer's indicated gender automatically.

Wladek92 (talkcontribs)

Yes, we can done that locally but better should be to have GENDER hardcoded in the source message to apply similarly on other languages where names follow the gender : german, polish...

Ciencia Al Poder (talkcontribs)

The problem is that {{GENDER}} needs the username as a parameter, which doesn't seem to be available on this particular message. This will require changes in MediaWiki. Basically, a BUGREPORT

Dinoguy1000 (talkcontribs)

Aah! I figured I was probably missing some detail here, thanks for pointing it out.

Wladek92 (talkcontribs)

Test with arbitrary $ 1 :

Je suis {{GENDER:$1|un homme|une femme}}.

Result:

Je suis un homme.

satisfied ?

Dinoguy1000 (talkcontribs)

Without support for the username as a parameter to the message, that will always display the male case. Whether this is acceptable is going to depend on what language you're looking at and who you're asking.

Wladek92 (talkcontribs)
Reply to "?? "utilisateur·rice" in FR title"