https://bugzilla.wikimedia.org/show_bug.cgi?id=44459

--- Comment #5 from Matthew Flaschen <[email protected]> ---
Hmm, it looks like this is a result of letting jqueryMsg take all messages
containing a square bracket.

This was part of my change eaaec38d6fdba01b30d051711dc84865fbe388ad (before it
did the same, but only for curly braces).

mw.msg (as used here) is plain by default.  But there is a FIXME in
mediawiki.js that plain and parse are wrongly treated exactly the same.

I think it is time to fix this.  My initial idea is:

1. Just pass the format to parser()
2. If it is plain, fall back to old mw.msg, which should work fine for this,
and similar cases where HTML is not wanted.

Later, jqueryMsg could be extended to support plain parsing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to