Add:
* Levantine Arabic (ajp, ajp-latn, ajp-arab)
* Pa'O (blk)
* Nigerian Pidgin (pcm)
* Paiwan (pwn)
* Sirionó (srq)
* Makhuwa (vmw)
Changed configuration:
* Add Pacific region to Indonesian (id) and Rapanui (rap)
* Add Pacific and America regions to Chinese (zh, zh-hans, zh-hant)
* Remove uppercase from Cape Verdian autonym (kea)
* Change autonym for Lombard (lmo)
* Change autonym of gur to "farefare"
Updating to:
ceb18ea4dd
The regions displayed on ULS depend on the showRegions parameter
passed to uls.lcd plugin. If a new language and region have
been added to the language data, the region for it will not be
available to showRegion because it's static.
Bug: T187553
The $.uls function in jquery.uls.core in createLanguageFilter
passes the onSelect function to the
$.fn.languagefilter so the onSelect there should be made
compatible.
Bug: T261973
Adding languages:
* Bajau (bdr)
* Cakma (ccp); also adds support for the Chakma script
* Jeju (jje)
Also adds Aragonese as a language of Spain.
Updating to
d7a5e8db99
* Revert the BCP 47 standardization patch. Will be restored some time soon.
* Update autonyms: ban, gcr, hyw, jv
* Add languages: ksw, pov, rej, vai
Updating to
6313c6a9f8
* Remove capital letter from the Armenian autonym
* Update Santali autonym to the Ol Chiki script
* Add Eastern Pwo (kjp)
* Add Fula language to several countris in regions data
Updating to
5e8bf8b95f6123ab7522ec7876c8399ffd3f6e04
ULS input element had onInputChange() handler attached to
change, textInput and input events.
That caused onInputChange() to be called twice when there is user
input and ULS gets closed, since 'change' event fires when
<input type="text"> element loses focus.
Registering handler only for 'input' is sufficient for the intent.
sortByScriptGroup and getLanguagesByScriptGroup are updated from language-data.
(jquery.uls.data.utils should be merged to language-data.)
This resolves downstream bug
https://phabricator.wikimedia.org/T189090
Add the following languages:
* Northern Ndebele (nd)
* Okanagan (oka)
Update autonyms for the following languages:
* Kurdish (ku)
* Korean (DPRK variant, ko-kp)
Updating to
aab40a4f6f
This input field is only for language names. There's no reason for it
to have something longer. Looking at the logs of searches,
people sometimes write very long things there: gibberish,
URLs, inappropriate search strings, mistaken pastes from other places,
and so on.
So it should be limited by maxlength.
It's practically never useful after 20 characters, but setting at 40
just to be on the safe side. The longest language name in langdb is 34.
There was a mistake in #299: the $.trigger() must take only one argument
for extraParameters. Sending another parameter causes NULL to be logged in
EventLogging for ulsPurpose.