e3c2950c04da314dde39ae4bf71749cb90d79d39
Now that Compact Language Links also started to add to this list, ULS would show incorrect language change tooltip notifications. ULS interface language selection will still keep updating the list of previously selected languages. Refactored the code a bit: 1) created minimal Store that wraps around plain localStorage, since mediawiki.storage cannot be used yet. 2) Inlined the userHasChangedLanguage function to new initTooltip function. 3) Split parts of the huge initInterface to new initTooltip and initIme functions for increased readability. 4) Solved a TODO for moving language change recording out of the tooltip showing code. Change-Id: If8478a59168d89264f4d46938ac865c0c9a04f25
== 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. Bugs for the extension are handled in Phabricator: https://phabricator.wikimedia.org/tag/mediawiki-extensions-universallanguageselector/
Description
Languages
JavaScript
79.4%
HTML
11.9%
PHP
4.7%
Less
2.5%
CSS
1.4%
Other
0.1%