"NeilK" posted a comment on MediaWiki.r107556.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/107556#c28814
Commit summary for MediaWiki.r107556:
Use jqueryMsg wikitext parser to parse interface messages at client side.
Support for PLURAL in javascript.
NeilK's comment:
There is one small issue though (which is still a bug in jQueryMsg itself) is
that you have to parse HTML simultaneously. Because each "atom" of text is
treated as a whole jQuery object (and "This <b>{{PLURAL:$1..}}</b>" results in
"This <b></b>", PLURAL, "").
That could be fixed by adding primitive HTML parsing to the PEG thing -- I'm
not sure how you fix it with the MediaWiki parser.
Still though, if that's the only bug we could live with it.
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview