https://bugzilla.wikimedia.org/show_bug.cgi?id=57076
Web browser: ---
Bug ID: 57076
Summary: All calls to *Template->msg() referring to a user's
gender should provide the user name
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
In many languages (French in my case, but also a lot of Slavic languages
according to
http://www.mail-archive.com/[email protected]/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
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l