To this version:
008a9f67ce
Changes:
* Redirect chm to mhr (different codes for the Mari language, see Bug T136164).
* Add Tulu (tcy) localization.
Change-Id: Ia45e9c3bd023b94339a4e49524d1c7e54f948663
* Localisation updates.
* Renaming of common languages to suggested languages.
* Addition of language fax.
Bug: T137867
Change-Id: I72f700f562107ad1bfbe797329f4900c191bca20
jquery.ime to 80f513ecc
* Input method name change
jquery.i18n to 7daaceb
* Some code style changes
* Do not include non js-files (none of the other libs do either)
jquery.uls to 20eea5de
* Improved langdb territories
Change-Id: Id3bcc4f1fe3ec255d2baea7f6096ee9a34fcffc3
Updates the handling of Azerbaijani varieties in langdb,
to make it compatible with CLDR and with the new azb.wikipedia.
See https://github.com/wikimedia/jquery.uls/pull/199
Change-Id: I2f8f14c0130d72a1a21a85c681d8ff0afe4661ae
* Fix ota writing system and autonym
* Clean up conditions code in uls.core
* Localisation updates
Bug: 60815
Change-Id: I2c7bfa55e495fcac6d9e2cf747004ee4a0e46475
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
* Optimize all SVGs.
* Bug 60815: Add rwr and ota to the languages supported by ULS.
* Drop -moz-linear-gradient for images.
* Localisation updates from https://translatewiki.net.
Change-Id: I3455db4ec0b9ffd8f0a29d41e8ef56309e9c59d2
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
* Reduce data size of uls language data a bit by using unescaped unicode
* Move the autonym font to example instead of making part of jquery.uls
* Use attr and prop consistently in jquery.uls.lcd.js
* Remove unnecessary object instance from jquery.uls.lcd.js
* Avoid 'recalculate style' by changing classes conditionally while
scrolling the language list
* Remove non-existing "-ms-linear-gradient"
* Localisation updates
Change-Id: I10b8658e29c03b136b4475c4c69ace33e5628a98
Upstream: https://github.com/wikimedia/jquery.uls/
Changes:
* Update Autonym font
* Code formatting fixes
* Localization updates
* Language autonym correction and language additions
* Performance fix for region selector
Change-Id: I1da30aa31ad8a4fe430a12fef05c4e6b54fc6648
* Move the invocation into the parens that contain the function.
* unescaped regex
* Do not wrap function literals in parens unless they are to be
immediately invoked.
Change-Id: Ib3360f88fb7674af0e857d8a84a91fdac1fd8487
Also adds landing page feature. But candidate list is hardcoded
for now. Example html file updated.
show method of lcd renamed to render.
Introduced a trigger searchclear
Introduced mw.uls.changeLanguage, setPreviousLanguages
getPreviousLanguages and getBrowserLanguage methods
Region groups re-numbered - from [4, 1, 2, 3] to [1, 2, 3, 4].
Change-Id: Iac1edf628708e6f40e41578df70d40c42f15289a
A very simple mechanism for importing per-country language lists
from CLDR to ULS' langdb.
If I understand correctly, we only need languages spoken in a country
ordered by number of speakers. The CLDR data already has it and it should be
mostly useful.
Also added a utility function and a test.
Some tweaks to override the CLDR data are still needed:
* The data as it is omits some useful languages. For example, Amharic is not
listed in Eritrea.
* Some countries have a very large number of languages. Ideally it's right,
but is not practical currently, for example India with 75. Maybe
hand-picking or limiting the choice to top X languages can be useful,
but requires thought.
* Some language codes are standard, but different from Wikipedia practice,
for example "pa_Guru" (we just write "pa"). Maybe a mapping of codes
is needed.
Change-Id: I3c0cd5a9118997ba39a4f3695978e359f3de6956
Multiple scripts and autonyms are not currently supported by ULS utils.
I commented out the problematic lines and left the current de-facto
situation in Wikipedia.
This is a TODO item, but it needs proper specification.
Also updated the tests somewhat.
Change-Id: I8cdc6ae430f5bb5af4b1890abf6e71a91b6beb3d
Adjustments in the language layout to make it easy to scan through
the language list and distinguish the different script groups:
* Removed the empty spacing row between groups.
* Changed the maximum number of languages in a column.
* Changed the order of script groups for better discoverability.
Change-Id: If223ae65bfec256c56d6092628b3999dfd02a119
* Can add languages not in MW
* Can get rid of foo / bar names which include different scripts
* Can get rid of directionality marks
* PHP scripts to generate the jquery.uls.data.js is now independent of
mediawiki and moved the scripts to lib/jquery.uls/data
* No pretty printing for the jquery.uls.data.js and added a 'do not edit' comment.
* Related changes in RL module definition and example html
Change-Id: I9a360dbdec4e9312aa5c76f801424ff95a8550d6