Last modified: 2013-06-10 19:26:51 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 T49132, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47132 - mwe-upwiz-license-cc-zero: Parse error at position 28 (<br /> unsupported)
mwe-upwiz-license-cc-zero: Parse error at position 28 (<br /> unsupported)
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
master
All All
: High normal (vote)
: ---
Assigned To: Nischay Nahata
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-11 18:28 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-06-10 19:26 UTC (History)
6 users (show)

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


Attachments
mwe-upwiz-license-cc-zero: Parse error at position 28 (on beta cluster) (50.15 KB, image/png)
2013-04-11 18:28 UTC, Antoine "hashar" Musso (WMF)
Details

Description Antoine "hashar" Musso (WMF) 2013-04-11 18:28:55 UTC
Created attachment 12083 [details]
mwe-upwiz-license-cc-zero: Parse error at position 28 (on beta cluster)

While uploading a file on beta ( http://commons.wikimedia.beta.wmflabs.org/ ) I noticed the CC-0 text is producing an error:

mwe-upwiz-license-cc-zero: Parse error at position 28 in input: Creative Commons CC0 Waiver <br />(release all rights, like public domain: [$2 legal code]

Screenshot attached.

UploadWizard runs out of master on the beta cluster.
Comment 1 Andre Klapper 2013-04-12 09:55:23 UTC
Visible enough to give it high prio, though minor issue.
Comment 2 Nischay Nahata 2013-04-15 19:36:16 UTC
I think this was a transient thing caused by some i18n bug. CC'ing Siebrand and Nemo
Comment 3 Nemo 2013-04-15 20:57:52 UTC
Looks similar to bug 43746? Maybe the message is not loaded.
Comment 4 Nischay Nahata 2013-04-16 09:49:08 UTC
(In reply to comment #3)
> Looks similar to bug 43746? Maybe the message is not loaded.

I don't think so, if the message isn't loaded it mostly displays the message key but its showing the message in here. I thought this is part of some i18n issue
Comment 5 Nischay Nahata 2013-04-16 09:53:59 UTC
It works fine on my local wiki (core not up to date)..

Strangely the license messages have a $2 but no $1
Comment 6 Nischay Nahata 2013-04-16 10:04:23 UTC
Updated core and now I see the bug :)
Comment 7 Niklas Laxström 2013-05-19 08:23:46 UTC
mediawiki.jqueryMsg does not support <br />. <br> doesn't cause syntax error but will be escaped.

Possible solutions:
* Remove <br />
* Add support for self closing tags
Comment 8 Gerrit Notification Bot 2013-05-20 08:18:00 UTC
Related URL: https://gerrit.wikimedia.org/r/64551 (Gerrit Change I42fb4a8d86f2955e1daf35f919b7581425cbf4e6)
Comment 9 Nischay Nahata 2013-05-20 08:22:20 UTC
Removing <br />
Comment 10 Nischay Nahata 2013-06-10 19:26:51 UTC
Change Merged

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


Navigation
Links