Last modified: 2012-08-22 12:24:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T41052, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39052 - mwe-upwiz-deeds-macro-prompt: Parse error at position 74 in input
mwe-upwiz-deeds-macro-prompt: Parse error at position 74 in input
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
When using https://commons.wikimedia....
: i18n
Depends on:
Blocks: 37144
  Show dependency treegraph
 
Reported: 2012-08-05 12:50 UTC by Maarten Dammers
Modified: 2012-08-22 12:24 UTC (History)
2 users (show)

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


Attachments

Description Maarten Dammers 2012-08-05 12:50:35 UTC
When using https://commons.wikimedia.org/w/index.php?title=Special:UploadWizard&campaign=wlm-nl&uselang=cs at the release rights step you get the following error:

mwe-upwiz-deeds-macro-prompt: Parse error at position 74 in input: Tento server vyžaduje, abyste pro {{PLURAL:$1|tento soubor|tyto soubory}} {{gender:|uvedl|uvedla|uvedli}} autorskoprávní údaje, aby bylo jisté, že {{PLURAL:$1|jej|je}} může každý legálně užívat.
Comment 1 Mark Holmquist 2012-08-06 16:45:17 UTC
That message is clearly malformed--no other language appears to use {{GENDER}} in this message, where I have seen GENDER used in the past it has been in ALL CAPS, and I'm pretty sure there has to be an argument to the magic word (so "{{GENDER:$1|something|something else}}" rather than "{{GENDER:|something|something else}}").

If I'm wrong on any counts, please add more info! :)

(note: there are a bunch of other messages in the same file with much the same syntax, so either it's very broken or I'm very wrong)
Comment 2 Mark Holmquist 2012-08-21 18:13:30 UTC
https://translatewiki.net/wiki/Gender#Testing_and_more_examples

"Your gender is {{GENDER:|male|female|unknown}} → unknown (should be unknown. This feature does not work in page content. Should it? Put your comments on talk. )"

Apparently this is even worse when using it in JavaScript, since the l10n features, however ugly, are even uglier on the JS side.
Comment 3 Siebrand Mazeland 2012-08-22 12:24:55 UTC
Fixed with https://translatewiki.net/w/i.php?title=MediaWiki%3AMwe-upwiz-deeds-macro-prompt%2Fcs&diff=4172980&oldid=3248756. Also fixed for language "rue". 

Two languages used GENDER in a message it was not supported in. A new issue
was reported for this (bug 39559). This solves the immediate issue. The JavaScript parser should ideally not b0rk over this. We've had a similar issue in UploadWizard before.

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


Navigation
Links