Page MenuHomePhabricator

Mediawiki:Mwe-upwiz-deeds-macro-prompt needs {{GENDER}}
Closed, ResolvedPublic

Description

Some languages(localizers) require this message to support {{GENDER}}. See also bug 39052


Version: unspecified
Severity: normal

Details

Reference
bz39559

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:03 AM
bzimport added projects: UploadWizard, I18n.
bzimport set Reference to bz39559.

Note: This bug may *manifest* in UploadWizard, but it's not a bug in the UW code. It's a bug in the mw.Message code. The mw.Message class needs to support the {{GENDER}} keyword in all its various forms, else there will be i18n issues wherever an extension tries to use that keyword in JavaScript. UW can't be the first, and it certainly won't be the last.

It does work there, but a bit differently - instead of the name it gets a user object. See
https://www.mediawiki.org/wiki/GENDER#PLURAL_and_GENDER_support_in_JavaScript

Despite being in the Language Engineering team, it's the first time I actually used GENDER in JavaScript, so I may have done something wrong, too :)

Patch in https://gerrit.wikimedia.org/r/#/c/30273/ .

Gilles triaged this task as Unbreak Now! priority.Dec 4 2014, 10:11 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Needs Triage.Dec 4 2014, 11:23 AM