Last modified: 2013-11-19 12:35:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30617, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28617 - Useractivity-* interface messages and their documentation are unclear
Useractivity-* interface messages and their documentation are unclear
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
SocialProfile (Other open bugs)
All All
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Jack Phoenix
: easy, i18n
Depends on:
Blocks: gender messages plural
  Show dependency treegraph
Reported: 2011-04-20 09:15 UTC by Purodha Blissenbach
Modified: 2013-11-19 12:35 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Purodha Blissenbach 2011-04-20 09:15:52 UTC
The message documentation of

    * Useractivity-edit 
    * Useractivity-foe 
    * Useractivity-friend 
    * Useractivity-gift 

does not suffice to translate the messages, or even to use GENDER correctly.

Please explain in more depth how parameters are to be used and evaluated.
How can be dealt with the condition whether or not GEMDER applies?

Comment 1 Purodha Blissenbach 2011-04-22 17:31:26 UTC
More detailed analysis:

$1 can be a single user or a list of users.
- Single case: Why supply $6, when we have $1 already and they are equal?
- List case: GENDER needs to be applied to each list element. For example,
  if we had three users in the list:
  - Petra (feminine)
  - Pitter (masculine)
  - P.T. (gender unknown)
  then $1, translated, had to be:
  Et Petra, dä Pitter, un dä Metmaacher P.T.
  (Note the initial capital!)

How to distinguish between single user and list of users?
It's generally impossible.
- For the languages having a PLURAL branch of "n==1", you can (mis)use PLURAL for the purpose.
- For the rest of the languages, you are at a loss.
In wikis having the parser functions extension installed, you could make local versions of the messages using parser functions, but that is not a general solution.

$3 looks like another user name or list. GENDER needs to be used on $3 or each user in $3 as well, in the same way as above.

All in all, this seems not really to work.
Comment 2 Purodha Blissenbach 2011-04-22 17:32:29 UTC
See also bug 25337
Maybe it can be treated in one go with this one.
Comment 3 Purodha Blissenbach 2011-04-22 18:03:24 UTC
Te message MediaWiki:useractivity-user_message also needs GENDER support on users or lists $1 and $3
Comment 4 Nemo 2013-11-19 12:35:41 UTC
Adding many blockers of bug 38638 to the list of "easy" bugs, to mark them as candidates for [[mw:Google Code-in]] tasks (gci2013). If you think this bug is not suitable, remove the keyword.

Note You need to log in before you can comment on or make changes to this bug.