Author: progval+mediawiki
Description:
In many languages (French in my case, but also a lot of Slavic languages according to http://www.mail-archive.com/wikibugs-l@lists.wikimedia.org/msg04551.html), “user” (among many words) has two translations according to the gender of the user (in French, it is “utilisateur” for men and “utilisatrice” for women).
Some calls to *Template->msg() do provide the username, either for rendering it or specifically for the {{GENDER}} tag (whose syntax is {{GENDER:username|masculine form|male form|neutral form}}), but many of them do not.
For instance, in includes/actions/InfoAction.php, the user referred to in “$this->msg( 'pageinfo-lastuser' )” can be known by the code at this point, but is not passed to $this->msg(), which prevents translators from providing the appropriate gender.
So, my request is to make — as far as possible; I know all such instances cannot be found automatically — all those calls provide the user name.
A good start could be running this command: grep "this->msg(.*user[^,]*)" includes/ -ri
Version: 1.23.0
Severity: minor