Last modified: 2011-05-15 11:52:32 UTC
The Special:Upload form is "redesigned" by taking advantage of the "uselang hack". All the MediaWiki messages that appear on Special:Upload have alternate versions created at (e.g.) MediaWiki:Uploadtext/foo and then users can use that version of the form by going to index.php?title=Special:Upload&uselang=foo.
This method has been used successfully on at least Wikimedia Commons and English Wikipedia, but on some wikis, the MediaWiki:Licenses/foo gets ignored and only the default MediaWiki:Licenses gets used. (This message is the list of license options that appears in the drop down box.)
This problem has been reported to me by the Greek Wikipedia and Citizendium wikis:
Apparently also http://en.citizendium.org/wiki/CZ:Upload-Wizard but you'd have to beg for an account to confirm. ;)
Account creation at Citizendium is semi-automated and are usually processed in about 15 minutes, http://en.citizendium.org/wiki/Special:RequestAccount
The Vietnamese Wikipedia is facing the same problem:
This method of form hack requires some configuration hacks.
I also really don't recommend it as it kind of sucks. :)
What entails "some configuration hacks"? How is it that it works on English Wikipedia but not Greek or Vietnamese? Did English make a special request?
Yes it does kind of suck, but in the absence of a better solution... :)
The licenses message (at least) has to be added to the exception list for content messages to be loaded from the UI language. And yes, it was a special request...
Could anyone fix the "Licences" problem for the Vietnamese Wikipedia? Thanks.
I don't think another languages are so much less important than English and Commons Wikipedia that no one pay enough attention to this problem.
It's such a long time since the first request, if you trick that successfully for English Wikipedia and Wikimedia Commons, is it so diffucult to do the same trick to other languages?
I've emailed Tran offering to assist the Vietnamese wiki.
I've created a new bug for developer to set the variable for vi.wiki. Thank Ewen very much.
Greek Wikipedia is very interested in enabling this enhancement. Yes english wikipedia and commons are bigger projects but this feels like a discrimination against smaller language projects, responding to "special requests" from the bigger projects and not from others.
You can file a seperate bug like I did in Bug 12699 to ask a developer to change the variable $wgForceUIMsgAsContentMsg in Greek Wikipedia. It worked for Vietnamese Wikipedia. Cheers.
Since this component is going through an overhaul, I doubt we'll be making any special configuration hacks to work with the existing code. Putting this in the upload category.
Closing as invalid. Individual wikis should ask for $wgForceUIMsgAsContent message to be set as appropriate.