Santhosh Thottingal 61e1f95a4c Wait till rendering thread completion before applying webfonts
So that the fontfamily values are always 'seen' by the webfonts jquery
plugin. Missing this was causing incorrect behavior -overriding the
fontfamiliy from css- in random cases.

The stylesheet ext.uls.webfonts.css define font family values for
interlanguge links and autonym class. This patch make sure that that
css values are read by jquery.webfonts while deciding which font to
apply. Autonym font is supposed to be used for them. If jquery.webfonts
does not read that these elements has a font family defined in css as
"'Autonym', sans-serif", it will attempt to apply fonts as per user
preference or default fonts based on lang attribute. That will cause
applying bigger fonts.

jquery.webfonts does not apply any fonts, if an element has explicit
font family value defined by inline css or by external style sheets.

Bug: 59958
Change-Id: I2da436caa618bc2318e20e3c0492a6bf1c03e162
2014-01-13 08:58:00 +05:30
2013-11-19 10:55:52 +00:00
2014-01-07 14:56:55 +05:30
2013-11-19 10:55:52 +00:00
2014-01-12 15:57:11 +02:00
2014-01-08 15:23:12 +01:00
2013-04-23 16:03:28 +03:00
2014-01-10 10:07:04 +05:30
2013-04-29 10:05:02 +02:00
2013-12-19 19:00:51 +05:30
2014-01-06 10:00:40 +00:00
2012-07-13 15:16:06 -04:00
2012-07-18 15:29:17 +03:00
2013-08-22 08:37:54 +00:00
2014-01-05 12:40:00 +00:00

== Universal Language Selector ==
The Universal Language Selector extension (ULS) provides a flexible way to
configure and deliver language settings like interface language, fonts, and
input methods (keyboard mappings). This will allow users to type text in
different languages not directly supported by their keyboard, read content in a
script for which fonts are not available locally, or customise the language in
which menus are displayed.

For more information see:
 https://www.mediawiki.org/wiki/Universal_Language_Selector

== Copying ==
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 lines to LocalSettings.php of
your MediaWiki setup:

require_once "$IP/extensions/UniversalLanguageSelector/UniversalLanguageSelector.php";

By default, ULS will appear at personal toolbar position. If you want ULS at
interlanguage position, add the following line:

$wgULSPosition = 'interlanguage';

== For Developers ==
The MediaWiki Universal Language Selector project uses jquery.uls:
 https://github.com/wikimedia/jquery.uls

Its development is at Wikimedia Github account. Any fixes to lib/ 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

For reporting bugs, use 'UniversalLanguageSelector' component under
'MediaWiki extensions' product at:
 https://bugzilla.wikimedia.org
Languages
JavaScript 79.4%
HTML 11.9%
PHP 4.7%
Less 2.5%
CSS 1.4%
Other 0.1%