Github mirror of MediaWiki extension UniversalLanguageSelector - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)
转到文件
Translation updater bot f203efa338 Localisation updates from https://translatewiki.net.
Change-Id: Icce1cfe77b52d10c6d87fc650e28c345c0c3b2bc
2024-05-14 09:27:32 +02:00
.phan build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0 2019-05-19 12:34:47 +00:00
data Use $this->getServiceContainer() in maintenance 2024-05-07 06:12:27 +00:00
i18n Localisation updates from https://translatewiki.net. 2024-05-14 09:27:32 +02:00
includes Remove woff files 2024-05-04 14:56:46 +03:00
lib Update jquery.uls from upstream 2024-05-06 16:11:16 +03:00
resources Remove woff files 2024-05-04 14:56:46 +03:00
scripts Use namespaced Html class 2024-01-23 12:06:47 +00:00
tests Remove woff files 2024-05-04 14:56:46 +03:00
.eslintignore build: Update linters 2023-09-20 19:10:42 +01:00
.eslintrc.json build: Update linters 2023-09-20 19:10:42 +01:00
.gitignore Update .gitignore to ignore DS_Store 2021-09-08 02:58:12 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:04:00 -07:00
.phpcs.xml Remove phpcs exclude rules and update PHP code 2022-11-13 18:33:34 +00:00
.stylelintrc.json stylelint: Enable selector-pseudo-element-colon-notation 2023-03-30 01:03:16 +02:00
.svgo.config.js build: Update linters 2023-09-20 19:10:42 +01:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 17:30:24 +00:00
CREDITS Add Kartik Mistry to CREDITS and sync with extension.json 2018-04-12 08:15:18 +00:00
GPL-LICENSE Implement dual license GPLv2 and MIT. 2012-07-13 15:16:06 -04:00
Gruntfile.js build: Remove customSyntax option from stylelint in Gruntfile.js 2022-10-31 13:15:30 +00:00
MIT-LICENSE Save source files as UTF-8 2012-07-18 15:29:17 +03:00
README Fix test failures by updating the failing test case 2019-07-08 08:57:10 +02:00
composer.json build: Updating composer dependencies 2024-05-06 03:24:04 +00:00
extension.json Add line-break hints in very long extension name 2024-05-10 20:17:09 +02:00
hooks.md Add hooks fired when finished processing compact language links 2016-09-27 13:34:02 +00:00
package-lock.json build: Updating grunt-banana-checker to 0.12.0 2024-05-11 03:34:07 +00:00
package.json build: Updating grunt-banana-checker to 0.12.0 2024-05-11 03:34:07 +00:00

README

== 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:

wfLoadExtension( 'UniversalLanguageSelector' );

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

$wgULSPosition = 'interlanguage';

== 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/