Using the gender of the subject user, not the viewer

Fragment of a discussion from Talk:Gender
Jump to navigation Jump to search
  1. GENDER has two usage variants: One referring to the current user viewing the page (used only for interface messages, see e.g. Tog-watchrollback ("Add pages where I have performed a rollback to my watchlist")), written as {{GENDER:|m|f|n}} (without the username). An the other one where the user, whose gender should discriminate, is specified explicitly (e.g. Savedrights ("The user groups of $1 have been saved.")), written as {{GENDER:username|m|f|n}}. Obviously, the username is usually passed as a parameter to the respective message, e.g. {{GENDER:$1|m|f|n}}.
  2. Of course it can, USERNAME {{GENDER:USERNAME|przeniósł|przeniosła}} (more specifically, usually something like$1 {{GENDER:$1|przeniósł|przeniosła}}, if the $1 variable contains the username).
  3. If you want to learn which message causes something to be displayed, append ?uselang=qqx to the page URL, see the FAQ. In this case, viewing Special:Contributions/Sumanah?uselang=qqx shows the heading of the page is defined by Contributions ("User contributions").
Mormegil (talk)08:41, 20 December 2018

The problem at (3) is that the message (both in Polish and English) uses the parameter $1, but it’s not passed to the message. This is a software bug, either the parameter should be passed, or—if that’s impossible for some reason—at least the parameter should be removed from the English message.

Tacsipacsi (talk)22:38, 20 December 2018