e231ba72aef2687f538506ee2bee03dcc4ede4cb
$wgULSNoWebfontsSelectors had default value as '#p-lang li > a' -the interlanguage links. It does not make sense after the class 'autonym' was added to such links. That 'autonym' css class has fontfamily definition as Autonym, sans-serif ie, Autonym font is applied to the interlanguage links. So, now it make sense to have default value as .autonym to exclude from parsing. This also fixes the problems like Bug 58374 where in random cases the default font for the language get applied even if it has 'autonym' class. This issue was because the js get executed before the css for .autonym class is ready and applied. The jquery.webfonts parser will miss to detect the explicit fontfamily 'Autonym, sans-serif' and the default font is applied. Bug: 58374 Change-Id: I7478a58583d3b029ae8e2d63e118917499c29c30
== 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
Description
Languages
JavaScript
79.4%
HTML
11.9%
PHP
4.7%
Less
2.5%
CSS
1.4%
Other
0.1%