Santhosh Thottingal 427c94dbbf Avoid 404s in non-localized locales
* Update jquery.i18n - if messageLocationResolver returns false for
  a locale, no server hit will be attempted
* Refactor i18n preparation code to a new method
* Use the ULS RL hooks to find out to which locales it is localized,
  pass that list to js to avoid hitting server.
* Also avoid directory scanning in each request by putting
  the locale list in cache

Fixes Bug 41454

Change-Id: I0c923b35db01b884e2dd55873dd5fb7384434645
2012-10-30 13:53:47 +00:00
2012-10-26 19:35:00 +00:00
2012-10-30 13:53:47 +00:00
2012-08-15 17:32:49 +02:00
2012-06-12 14:13:34 +02:00
2012-10-16 16:58:51 +05:30
2012-07-13 15:16:06 -04:00
2012-07-18 15:29:17 +03:00
2012-09-23 21:59:18 -07:00

== Copying ==

In short: You may use any Project Milkshake product, including the Universal
Language Selector, under the terms of either the MIT License or the GNU General
Public License (GPL) Version 2 or later.

See GPL-LICENSE and MIT-LICENSE for details.

== Installation ==
For a very, very quick start add the following to LocalSettings.php:

include("$IP/extensions/UniversalLanguageSelector/UniversalLanguageSelector.php");

== For Developers ==
The MediaWiki Universal Language Selector project uses jquery.uls(https://github.com/wikimedia/jquery.uls).
Its development is at wikimedia github account. So any fixes to lib/jquery.uls should happen at github. 
Follow the build instructions of jquery.uls to create jquery.uls.js.

More documenation is at
 https://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector

== Change log ==
Languages
JavaScript 79.4%
HTML 11.9%
PHP 4.7%
Less 2.5%
CSS 1.4%
Other 0.1%