MediaWiki:Licenses/foo sometimes ignored when viewing Special:Upload&uselang=foo
Closed, InvalidPublic


Author: brianna.laugher


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 but you'd have to beg for an account to confirm. ;)

Version: unspecified
Severity: normal

bzimport added a project: MediaWiki-Uploading.Via ConduitNov 21 2014, 9:55 PM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz11695.
bzimport created this task.Via LegacyOct 18 2007, 12:52 AM
bzimport added a comment.Via ConduitOct 18 2007, 1:36 AM

ewenste wrote:

Account creation at Citizendium is semi-automated and are usually processed in about 15 minutes,

bzimport added a comment.Via ConduitOct 18 2007, 5:44 AM

ewenste wrote:

The Vietnamese Wikipedia is facing the same problem:

brion added a comment.Via ConduitOct 18 2007, 2:29 PM

This method of form hack requires some configuration hacks.

I also really don't recommend it as it kind of sucks. :)

bzimport added a comment.Via ConduitOct 18 2007, 2:56 PM

brianna.laugher wrote:

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... :)

brion added a comment.Via ConduitOct 18 2007, 3:59 PM

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...

bzimport added a comment.Via ConduitOct 30 2007, 11:06 AM

thanhquang.nguyen wrote:

Could anyone fix the "Licences" problem for the Vietnamese Wikipedia? Thanks.

bzimport added a comment.Via ConduitOct 30 2007, 12:16 PM

vinhtantran wrote:

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.

bzimport added a comment.Via ConduitJan 20 2008, 3:07 AM

vinhtantran wrote:

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?

bzimport added a comment.Via ConduitJan 20 2008, 5:27 AM

ewenste wrote:

I've emailed Tran offering to assist the Vietnamese wiki.

bzimport added a comment.Via ConduitJan 20 2008, 5:47 AM

vinhtantran wrote:

I've created a new bug for developer to set the variable for Thank Ewen very much.

geraki added a comment.Via ConduitMay 16 2008, 10:32 AM

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.

bzimport added a comment.Via ConduitMay 16 2008, 10:46 AM

vinhtantran wrote:

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.

RobLa-WMF added a comment.Via ConduitNov 3 2010, 2:27 AM

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.

bzimport added a comment.Via ConduitMay 15 2011, 11:52 AM

Bryan.TongMinh wrote:

Closing as invalid. Individual wikis should ask for $wgForceUIMsgAsContent message to be set as appropriate.

Gilles added a project: Multimedia.Via WebDec 4 2014, 10:55 AM
Gilles moved this task to Closed on the Multimedia workboard.Via WebDec 4 2014, 10:59 AM

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.