Lucas_Werkmeister_WMDE added a comment.

Hm, looks like that’s just standard behavior for any template (I tried it with foo{{identity|*bar}}, where Template:identity is just {{{1}}}). Odd, but not a bug.

But this suggests that moving the username out of the {{GENDER}} should be enough to fix the bug. If I understand it correctly, we’re not actually making use of the {{GENDER}} here – it’s just used in the English version of the message to give translators a hint that they can use the function, but they will not apply it to the username itself. For example, the Portuguese translation of wikibase-entity-summary-restore is

Restaurar a revisão $3 {{GENDER:$4|do utilizador|da utilizadora}} [[Special:Contributions/$4|$4]]

where the {{GENDER}} is used to switch between the male and female form of “user”, whereas the username itself ($4) stays the same.


TASK DETAIL
https://phabricator.wikimedia.org/T182800

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: gerritbot, Bawolff, Lucas_Werkmeister_WMDE, Aklapper, Cpaulf30, Lahi, Gq86, Baloch007, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to