"NeilK" posted a comment on MediaWiki.r107556. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/107556#c28657
Commit summary for MediaWiki.r107556: Use jqueryMsg wikitext parser to parse interface messages at client side. Support for PLURAL in javascript. NeilK's comment: I think we need some data to make an appropriate decision here. jQueryMsg is kind of a monstrous-looking JS package. But we should determine whether it really does bloat the frontend or slow message parsing down, and if so, is it worth it. Next: if it really is too bloaty, then we should do what I always intended to do, which is to move "parsing" to the server. 90% of the library could be ported to PHP, which would then emit regular messages as regular strings, and messages that had PLURAL and so on in them would be emitted as little JSON structures. Those JSON structures are easy to deal with, and implementing PLURAL/GRAMMAR/etc. would be a very, very tiny library. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
