Page MenuHomePhabricator

Vietnamese Special:Upload on the Commons is broken
Closed, ResolvedPublic

Description

Author: brianna.laugher

Description:
Instead of rendering correctly, it seems to show a bunch of ugly code from
http://commons.wikimedia.org/wiki/MediaWiki:Uploadtext . MediaWiki:Uploadtext/vi
is not defined. But when I look at
http://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=ug ,
another language that doesn't have MediaWiki:Uploadtext/ug, it works fine
(although it shows the original, default value for Uploadtext rather than our
updated one - that seems like another bug).

Please help, thanks.


Version: unspecified
Severity: normal
URL: http://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=vi

Details

Reference
bz6139

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:18 PM
bzimport set Reference to bz6139.
bzimport added a subscriber: Unknown Object (MLST).

Fixed in r14472.

Constructs like <nowiki>{{PD}}</nowiki> don't work quite as one
might expect in messages because of the way brace substitution
is currently applied to messages at load time, before they get
passed through the main wiki parser.

Moving the <nowiki> inside the braces, like this:
{{<nowiki>PD</nowiki>}} does the trick.

brianna.laugher wrote:

Thanks. But... I don't understand where that text is even coming from. After
all, http://commons.wikimedia.org/wiki/MediaWiki:Uploadtext/vi is empty. What
page did you change?

Also, vi.wikt has exactly the same MediwWiki:Uploadtext as currently appears on
the Commons' vi:Special:Upload :
http://vi.wiktionary.org/wiki/MediaWiki:Uploadtext . I just created an account
there to check, and it renders fine on vi:wikt:Special:Upload. And they have
<nowiki>{{PD}}</nowiki> .

It's in the default language file.