Charlie_WMDE added a comment.

  In T237507#5845332 <https://phabricator.wikimedia.org/T237507#5845332>, 
@Lucas_Werkmeister_WMDE wrote:
  
  >> we only pass in a DOM element with the user name, not anything that could 
be passed into `{{GENDER}}`.
  >
  > It turns out that gender in jqueryMsg works differently anyways. You don’t 
pass in any user name, you pass in the gender directly – `"male"`, `"female"`, 
`"unknown"`. (That’s all MediaWiki recognizes, sadly.)
  > But that means we need to make another API call – something like 
https://de.wikipedia.beta.wmflabs.org/w/api.php?action=query&list=users&usprop=gender&ususerids=689
 – to get something we can pass into the message. (Probably as a new $10 
parameter.) And I don’t think we can batch this with anything.
  
  @Lucas_Werkmeister_WMDE do you want to make an extra ticket for this? since 
this was not part of the initial AC

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

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

To: Charlie_WMDE
Cc: Lucas_Werkmeister_WMDE, Sarai-WMDE, Pablo-WMDE, Aklapper, Charlie_WMDE, 
darthmon_wmde, Michael, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to