Santhosh Thottingal 7649b47f5c Followup I59dfcfb25c, language change work with out event logging
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
2013-08-19 10:13:56 +00:00
2013-07-07 15:35:31 +03:00
2013-08-19 10:58:39 +03:00
2013-04-23 16:03:28 +03:00
2012-06-12 14:13:34 +02:00
2013-04-29 10:05:02 +02:00
2013-05-22 09:41:20 +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
2013-08-19 04:40:08 +00: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%