Last modified: 2011-05-15 11:52:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11695 - MediaWiki:Licenses/foo sometimes ignored when viewing Special:Upload&uselang=foo
MediaWiki:Licenses/foo sometimes ignored when viewing Special:Upload&uselang=foo
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 11538
  Show dependency treegraph
 
Reported: 2007-10-18 00:52 UTC by brianna.laugher
Modified: 2011-05-15 11:52 UTC (History)
8 users (show)

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


Attachments

Description brianna.laugher 2007-10-18 00:52:56 UTC
Hi,

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:

http://el.wikipedia.org/w/index.php?title=Special:Upload&uselang=elownwork

Apparently also http://en.citizendium.org/wiki/CZ:Upload-Wizard but you'd have to beg for an account to confirm. ;)
Comment 1 Stephen Ewen 2007-10-18 01:36:40 UTC
Account creation at Citizendium is semi-automated and are usually processed in about 15 minutes, http://en.citizendium.org/wiki/Special:RequestAccount 
Comment 2 Stephen Ewen 2007-10-18 05:44:25 UTC
The Vietnamese Wikipedia is facing the same problem: 
See http://www.mediawiki.org/w/index.php?title=Project:Support_desk&diff=135441&oldid=135434
Comment 3 Brion Vibber 2007-10-18 14:29:42 UTC
This method of form hack requires some configuration hacks.

I also really don't recommend it as it kind of sucks. :)
Comment 4 brianna.laugher 2007-10-18 14:56:56 UTC
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... :)

Comment 5 Brion Vibber 2007-10-18 15:59:50 UTC
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...
Comment 6 Nguyen Thanh Quang 2007-10-30 11:06:55 UTC
Could anyone fix the "Licences" problem for the Vietnamese Wikipedia? Thanks.
Comment 7 Tran Vinh Tan 2007-10-30 12:16:57 UTC
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.
Comment 8 Tran Vinh Tan 2008-01-20 03:07:21 UTC
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?
Comment 9 Stephen Ewen 2008-01-20 05:27:10 UTC
I've emailed Tran offering to assist the Vietnamese wiki.
Comment 10 Tran Vinh Tan 2008-01-20 05:47:25 UTC
I've created a new bug for developer to set the variable for vi.wiki. Thank Ewen very much.
Comment 11 geraki (Konstantinos Stampoulis) 2008-05-16 10:32:43 UTC
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.
Comment 12 Tran Vinh Tan 2008-05-16 10:46:17 UTC
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.
Comment 13 Rob Lanphier 2010-11-03 02:27:27 UTC
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.
Comment 14 Bryan Tong Minh 2011-05-15 11:52:32 UTC
Closing as invalid. Individual wikis should ask for $wgForceUIMsgAsContent message to be set as appropriate.

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


Navigation
Links