[Wikitech-l] Merging jqueryMsg and mediawiki

2013-03-06 Thread Matthew Flaschen
Right now, there's two message systems, one in mediawiki.js that basically just handles dollar-sign replacements, and an increasingly sophisticated one in jqueryMsg that tries to emulate the server. To make it more complicated, jqueryMsg monkey-patches mediawiki.js. What do people think about

Re: [Wikitech-l] Merging jqueryMsg and mediawiki

2013-03-06 Thread Santhosh Thottingal
On Thursday, March 7, 2013, Matthew Flaschen wrote: What do people think about merging them together, keeping mediawiki.js as the entry point? mediawiki.js already has the APIs that match the server. They just don't work anything like the server without jqueryMsg. Mail thread discussing

Re: [Wikitech-l] Merging jqueryMsg and mediawiki

2013-03-06 Thread Amir E. Aharoni
And to make things even more interesting, now there's also jQuery.i18n, which has similar functionality: https://github.com/wikimedia/jquery.ime/ It's a library that provides the same message syntax and grammar / gender / plural features, but is more portable (independent of MediaWiki). It's

Re: [Wikitech-l] Merging jqueryMsg and mediawiki

2013-03-06 Thread Amir E. Aharoni
2013/3/7 Amir E. Aharoni amir.ahar...@mail.huji.ac.il: And to make things even more interesting, now there's also jQuery.i18n, which has similar functionality: https://github.com/wikimedia/jquery.ime/ Sorry, the right URL is https://github.com/wikimedia/jquery.i18n

Re: [Wikitech-l] Merging jqueryMsg and mediawiki

2013-03-06 Thread Matthew Flaschen
On 03/06/2013 10:13 PM, Amir E. Aharoni wrote: It's already used for parts of the UniversalLanguageSelector extension, to make them as portable as possible. There are no current solid plans to make wider use of it in MediaWiki, but I'd love to see it replace as much of our messages system as