6b143320ad708ce771f47b7ca00a0aa600ba9bfe
This allows us to enable web fonts and input methods for all users by disabling just the interface language selection. Updated the documentation of the variables to make it clearer what each does. Summary: * Enabling: $wgULSEnable and $wgULSEnableAnon * Workarounds: $wgULSAnonCanChangeLanguage and $wgULSLanguageDetection Cleaned up hooks, in particular rewritten getLanguage to separate the logged in vs. logged out steps for easier understanding. A followup commit is needed to disable language selection UI for anon if $wgULSAnonCanChangeLanguage is false. Change-Id: Ia8d21c394ff5efac0ce94664710c97dc3b74ec18
== 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 ==
Description
Languages
JavaScript
79.4%
HTML
11.9%
PHP
4.7%
Less
2.5%
CSS
1.4%
Other
0.1%