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
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
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
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
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