https://bugzilla.wikimedia.org/show_bug.cgi?id=27743

           Summary: Handle GENDER more effectively,
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Internationalization
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Currently, user names are passed as parameters to message handling
routines and used there to detemine the users gender and return
language texts varying with the gender.

Sometimes, user names are also used to be included verbatim in messages.
Sometimes, rather links such as [[User:$2|$2]] are used instead.
Sometimes, series of links such as "Username (contribs, block, log, ...) "
are used and passed as parameters to messages.

This pactice has drawbacks:

A: Localizers often cannot immediately identify a parameter as being a plain
name suitable for GENDER use, or a link or series of links which cannot be
used.

B: When parameters for a message are evaluated, often a user object is already
there, then only a name is passed to message handling which has to evaluate its
own user object from the name in order to determine the gender. That's a waste.

C: Messages used outside the context of the wiki, where database lookups are
not readily available (e.g. in JavaScripts) cannot support gender.

Suggestion:
When messages need gender, pass the evaluated gender to them, and alter gender
handlincg accordingly. We need an additional parameter per independent
occurrence of gender per message, which can be seen as a structural advantage,
and the above drawbacks are avoided.

-- 
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 on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to