Last modified: 2014-08-04 14:00:27 UTC
The message in MediaWiki:mwe-upwiz-source-ownwork-assert-any-license
is having this problem:
* The parameter can be both a user name and a real name (or possibly any nonsense that a wiki user typed)
* The message should support GENDER for the user name case.
There is no way to safely do this since a real name of one person may well be a username of another person. Simply using GENDER and accepting the case "user not found" as "unspecified gender" would not work. Since the upload wizard is likely meant to be a quite central piece being heavily used in Wikimedia Commons in the future, we need a workable solution.
There are at least these messages in Extension:
having the same problem:
It may be worth finding a common solution for them all.
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
I'm not sure I fully understand what needs to change, here: From what I understand, GENDER can be used in translations already, and deals with "unspecified gender" as gender-neutral, depending on the settings for that language, which is just about the best we can do. If that's the case, I'm not sure there's an issue here. Am I missing something?
If the parameter is a user name, it should link to the user page and the message should be genderized.
Otherwise, this is not possible.
A decision, which case we have, cannot be made automatically.
OK, I did a bit more research. I think we have a bit of a misunderstanding, here.
The $2 parameter for this message is not a user name, it's actually an <input type="text" /> for the name of the person uploading the file. That input could have anything in it, up to and including absolutely nothing, so it's impossible to genderize it. Besides, the parameter is thrown for a loop when $2 = "<input type="text" value="kjasdf" />" and so on. There would be no way to genderize without dynamically changing the message on every keystroke--which gets into performance problems, possibly causing missed keystrokes.
Does that make sense? Is there a way to do this that I'm missing?
Patch needs rework - Amir, do you plan to work on this (as you are set as assignee)?
Change 31180 abandoned by Siebrand:
(bug 28525) Add GENDER support for mwe-upwiz-source-ownwork-assert-*
Abandoning this. Please revive if possible and with the comments addressed.