7649b47f5c30c4421a344c89d0ec29731094ece3
In I59dfcfb25c, for logging events when page is navigating away, we used callbacks with mw.hook. That is wrong approach. If event logging is disabled those callbacks will never called: it broke language change and all use cases which navigates away from current page. Event logging should not interfere with any ULS functionality. If ULS functionality depends on callbacks from event logging, it is wrong. In this patch, we give a small time window to make sure event logging is fired, but we won't wait for its success or failure. If eventlogging is disabled, this time window does not exist. Change-Id: I0b7d9d8b9d1d01b99422010596ebfa80b2589d04
== 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%