[Bug 30874] JS wikitext parser is fragile

2011-09-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30874

--- Comment #1 from Brion Vibber br...@wikimedia.org 2011-09-12 18:04:53 UTC 
---
What sort of breakage is happening, at what level? If it's a parse error in the
PEG.js-generated parser, then there's not much more you can 'catch' than the
entire 'yes it parses' / 'no it doesn't'.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30874] JS wikitext parser is fragile

2011-09-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30874

Siebrand s.mazel...@xs4all.nl changed:

   What|Removed |Added

 CC||s.mazel...@xs4all.nl

--- Comment #2 from Siebrand s.mazel...@xs4all.nl 2011-09-12 18:06:47 UTC ---
Put in for example {{SIETNAME}} and it breaks.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30874] JS wikitext parser is fragile

2011-09-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30874

--- Comment #3 from Ian Baker iba...@wikimedia.org 2011-09-12 18:20:42 UTC ---
Or, something like [ $1 is a foo] (note leading space).  This doesn't render to
anything in the php parser, fyi.

It'd be fine to catch it at the level of nope, doesn't parse.  It could even
throw an an informative error at the console, like message [messagename]
failed to parse.  The trouble is when the entire page breaks, and it takes
some time to even discover that it's a problem with i18n.

If a single message is broken, I bet most users will still be able to figure
out what to do.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 30874] JS wikitext parser is fragile

2011-09-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30874

Neil Kandalgaonkar ne...@wikimedia.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #4 from Neil Kandalgaonkar ne...@wikimedia.org 2011-09-13 
03:35:13 UTC ---


*** This bug has been marked as a duplicate of bug 30707 ***

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l