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 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 possible. There are some
technical challenges - the message file format is different
(essentially JSON), the way the files are loaded is different, and the
application of messages to the page is different. Some changes in
ResourceLoader will probably be needed to make it robust and easy to
use in the rest of MediaWiki.

--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬


2013/3/7 Santhosh Thottingal <[email protected]>:
> 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 this topic in the past
> http://www.mail-archive.com/[email protected]/msg46732.html
>
>
> Thanks
> Santhosh
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to