https://bugzilla.wikimedia.org/show_bug.cgi?id=27743
Krinkle <krinklem...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krinklem...@gmail.com --- Comment #1 from Krinkle <krinklem...@gmail.com> 2011-04-04 12:19:40 UTC --- (In reply to comment #0) > C: Messages used outside the context of the wiki, where database lookups are > not readily available (e.g. in JavaScripts) cannot support gender. Just to be complete, this only applies to custom usernames. For the currently logged-in user JavaScript implementation of GENDER is possible. Ie. "You are {{GENDER:|male|female}}, click on the {{GENDER:|blue|pink}} button to continue." could be parsed client side. Before 1.17 this required an API call to read preferences, overkill but possible. Since 1.17 this can be done much simpler via mw.user.options.get('gender') etc. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l