Page MenuHomePhabricator

[[MediaWiki:Contributions-subtitle]] should use $2 instead of $3
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
Gytha is a woman, so she should be referred to as "użytkowniczki" (not "użytkownika" which is masculine) in this message. As can be seen on TranslateWiki (https://translatewiki.net/w/i.php?title=MediaWiki:Contributions-subtitle/pl&action=edit) this message uses $3 parameter to discern the user's gender. However, the user name is passed as second parameter (compare with lang qqx: https://pl.wikipedia.org/wiki/Specjalna:Wk%C5%82ad/Gytha?uselang=qqx).

What should have happened instead?:
The {{GENDER:}} in the interface message should work properly, showing "użytkowniczki" for women.

Software version (skip for WMF-hosted wikis like Wikipedia): plwiki

Other information (browser name/version, screenshots, etc.):
This is not an issue with this particular translation. Rather, the original English message should use {{GENDER:$2}} or there should actually be a third parameter passed with the user name.

image.png (153×605 px, 13 KB)

Details

Event Timeline

The incorrect argument was introduced from this change 908e387e3618.

Change 890873 had a related patch set uploaded (by Ammarpad; author: Ammarpad):

[mediawiki/core@master] SpecialContributions: Fix message arguments

https://gerrit.wikimedia.org/r/890873

Change 890873 merged by jenkins-bot:

[mediawiki/core@master] SpecialContributions: Fix message arguments

https://gerrit.wikimedia.org/r/890873

Ammarpad claimed this task.