b4f794f9fed47a770c6143e7272415008bd5af90
If not reset, the font-family will persist for languages without font preferences Steps to reproduce: 1. Open language settings->Display settings. Switch language to English. Inspect the lang and font-family of uls-display-settings element. 2. Switch language to hi. Inspect the lang and font-family of uls-display-settings element. You can see Lohit Devanagari as font. 3. Switch the language back to English. You can still see font as Lohit Devanagari. With this patch, you should see font family reset for English. Change-Id: Ib3346d8b888c7dcfda16e8a10473c785a1ebd890
== 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%