https://bugzilla.wikimedia.org/show_bug.cgi?id=30874
Web browser: ---
Bug #: 30874
Summary: JS wikitext parser is fragile
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: UploadWizard
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
As outlined in bug 30665, there is some wikitext that the JS parser won't
accept.
That's fine, but currently when it fails it breaks the page. That's probably
bad, since the current expectation is that broken wikitext simply won't render.
This caused Arabic UploadWizard to fail entirely because of a typo in the
translation (and probably a few other languages as well, but I didn't test).
I bet there's something that could be wrapped in a try/catch, and this would be
fixed. It would even be fine if it failed to return the message entirely, but
without halting JS execution.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l