Amir E. Aharoni
bd70495ada
Update language-data from upstream ( #462 )
...
* For Buginese add bug-bugi and redirect
from bug-latn to bug.
* For Serbo-Croatian, add sh-cyrl, and redirect
sh-latn to sh.
* For Wu, add wu-hans and wu-hant.
* For Yue (Cantonese), add yue-hans and yue-hant.
Updating to
https://github.com/wikimedia/language-data/commit/eca5c5f53c82060cbff90626297a7261a28692b9
2023-07-17 12:40:41 +05:30
Amir E. Aharoni
07452b3ca1
Update language-data from upstream
...
Update Betawi autonym (bew)
Updating to:
https://github.com/wikimedia/language-data/commit/6deb5b2ce2f7e98b36ccb559f54f0316e3e2ef8f
2023-06-12 18:18:14 +05:30
Amir E. Aharoni
03396b63c0
Update language-data from upstream
...
Updating to:
https://github.com/wikimedia/language-data/commit/99529ee4cbdf2dd1843fcd40849fb0515c56d1d1
2023-06-06 17:55:55 +03:00
Abijeet
8292fe90e3
uls.lcd: Add auto-correcting code when index goes beyond max index
...
Leave the error logging code in place in order to identify any
other places where this issue occurs.
Bug: https://phabricator.wikimedia.org/T328956
2023-05-29 11:14:13 +03:00
Amir E. Aharoni
0deb12e5ef
Update language-data from upstream
...
Add languages used in Wikimedia MinT:
* acq
* bem
* cjk
* dyu
* kam
* kmb
* lua
* luo
* taq (taq-latn, taq-tfng)
* umb
Redirects for MinT compatibility:
* als -> sq
* dik -> din
* fuv -> ff
* gaz -> om
* khk -> mn
* kmr -> ku-latn
* knc -> kr
* lvs -> lv
* npi -> ne
* ory -> or
* pbt -> ps
* pes -> fa
* plt -> mg
* quy -> qu
* swh -> sw
* uzn -> uz
* zsm -> ms
Updating to
https://github.com/wikimedia/language-data/commit/4198119b5c3c6f9441f5cbb857dced158a14ace5
2023-05-10 16:54:53 +05:30
Amir E. Aharoni
c9ba48b906
Update language-data from upstream
...
Add Crimen Tatar (Romania).
Updating to
https://github.com/wikimedia/language-data/commit/d8b9138988d0abaadb0a40fa1d158a3fa3a4aa7d
2023-05-04 13:33:19 +03:00
Abijeet
ea8af529a2
jquery.uls.lcd: Handle scenario where selected item is undetermined
...
Throw an error if during keyboard navigation the selected item could
not be determined.
Bug: https://phabricator.wikimedia.org/T328956
2023-04-18 14:32:17 +03:00
Amir E. Aharoni
b2ed2ffc02
Update language-data from upstream
...
Adding Ibibio (ibb).
Updating to
https://github.com/wikimedia/language-data/commit/7c53b11762b1bd6ca33f1ac65ba9943e4817d58a
2023-04-04 08:45:47 +05:30
Amir E. Aharoni
94f9001a4f
Update language-data from upstream
...
Updating to
https://github.com/wikimedia/language-data/commit/2585a1835db759f441281e16500373dccd621d85
2023-04-03 18:49:37 +03:00
wangombe-g
9eddca7d53
Conditionally render search placeholder text ( #450 )
...
Placeholder text was appearing cropped in menuWidth = 'narrow'
This commit serves to conditionally render placeholder text to a shorter 'Search'
Bug: https://phabricator.wikimedia.org/T318633
2023-03-22 19:50:01 +05:30
Abijeet
a5a4701792
jquery.uls.lcd: Check if languages are present before highlighting
...
There might not be any languages if uls empty state is set in ULS
extension
2023-03-13 14:16:12 +02:00
Amir E. Aharoni
5128f8f164
Update language-data from upstream ( #447 )
...
Add:
* Haryanvi (bgc)
* Tausug (tsg)
Updating to
https://github.com/wikimedia/language-data/commit/52c9e2971432dd6c08d95aea38e49081425a268d
2023-03-08 18:30:52 +05:30
Amir E. Aharoni
f5779eceb1
Update language-data from upstream
...
* Replace ajp with apc for Levantine Arabic.
* Add variants: en-us, nrf-gg, nrf-je
* Add Láadan (ldn)
* Add CQ region (backwards compatibility)
2023-02-27 08:33:20 +02:00
Abijeet
02cd462ec2
jquery.uls.lcd: Add null check for navigationIndex for up navigation
2023-02-16 11:11:11 +02:00
Amir E. Aharoni
0627f0ef32
Update language-data from upstream
...
Add Hassaniya (mey).
Updating to
https://github.com/wikimedia/language-data/commit/f1c2a81bebe8f39d689b1d1ad627057e4797b0f3
2023-01-29 11:23:06 +02:00
Amir E. Aharoni
33ded5382c
Update language-data from upstream
...
Add Hindko (hno).
Updating to:
https://github.com/wikimedia/language-data/commit/16db71c2bc397fef0e2b6b0e47765b952d735b6a
2023-01-25 13:59:34 +02:00
Abijeet
6f1c6a4743
Fix line length warnings
2023-01-16 15:04:12 +02:00
Abijeet
cfbfc5d2ff
Remove unused variable and add uls prefix for CSS class
2023-01-16 15:04:12 +02:00
Abijeet
606697ae7c
Fix issue with moving cursor location when pressing arrow keys
2023-01-16 15:04:12 +02:00
Abijeet
f6b1e5cc6e
Add some comments to the code
2023-01-16 15:04:12 +02:00
Abijeet
453cc37341
Fix general and usability issues, add some more features
...
* Scoll to currently highlighted item if its not visible.
* Fix navigation when list is filtered
* Add support for selecting highlighted item by pressing enter
2023-01-16 15:04:12 +02:00
NikG
31bd5c43db
Set navigation index to the selected language item index on hover
2023-01-16 15:04:12 +02:00
NikG
d7f7927ec3
Add caching for language option list items
2023-01-16 15:04:12 +02:00
NikG
f3f14a2098
Fix lint errors
2023-01-16 15:04:12 +02:00
NikG
cd1452eb76
Enable up/down keys for navigating the ULS menu
2023-01-16 15:04:12 +02:00
Amir E. Aharoni
b23041a2a3
Update language-data from upstream ( #442 )
...
* Add Arbëresh language (aae)
https://github.com/wikimedia/language-data/commit/66e804116b68c87c7d162ee5535b2ee052621a20
2023-01-11 16:37:52 +05:30
Amir E. Aharoni
78d3abcd8d
Update language-data from upstream
...
* Use turned comma in the autonym of Hawaii (haw)
* Add Igala (igl)
Updating to
https://github.com/wikimedia/language-data/commit/f95b5fe6758d5d9a1d899392e39bc6c6ff4c45f1
2023-01-11 13:24:24 +05:30
Amir E. Aharoni
ea2197b73d
Update jquery.uls from upstream
...
Add:
* Monegasque (lij-mc)
* Norwegian Hognorsk (nn-hognorsk)
* Varieties of Rhetoromanian (rm-puter, rm-rumgr,
rm-surmiran, rm-sursilv, rm-sutsilv, rm-vallader)
* Manado (xmm)
2022-12-07 17:10:16 +05:30
wangombe
257fd1a837
Add Berom and Nzema languages
...
Updating to:
wikimedia/language-data@4ecd1d32
2022-12-05 12:13:02 +03:00
wangombe
5ae47c1b43
Update language-data from upstream
...
* Add Dagaare (dga), Kʋsaal (kus), (ajp) languages
* updates to South Levantine Arabic (ajp)
2022-12-01 16:05:03 +03:00
Amir E. Aharoni
ce15e82ad8
Update language-data from upstream
...
Add Magahi (mag).
Updating to
https://github.com/wikimedia/language-data/commit/af77a5dc50a8c995197ac3586ff21415319641bd
2022-10-13 13:35:47 +05:30
Amir E. Aharoni
4b07e4fe64
Update language-data from upstream
...
Add Iraqi Arabic.
Updating to
https://github.com/wikimedia/language-data/commit/7de21c489f564008103f668da1587059c1be0ca4
2022-09-07 16:39:09 +05:30
Amir E. Aharoni
cd13f0af75
Update language-data from upstream
...
* Update Iñupiaq (ik) autonym.
* Add Esan (ish).
* Add Makassarese (mak) in Latin and Buginese.
* Updates in regional data.
Updating to
https://github.com/wikimedia/language-data/commit/80b389b48ddbf4b69d93bba089c195e09f354a04
2022-08-29 18:35:48 +05:30
Amir E. Aharoni
677d9c5ae2
Update language-data from upstream
...
* Add Kalanga (kck), Wolaytta (wal), Yonaguni (yoi)
* Fix capitalization for Bunun (bnn).
Updating to
https://github.com/wikimedia/language-data/commit/0d800daf30c84732984763b93eabe1326dfd4b23
2022-07-20 12:16:52 +05:30
Amir E. Aharoni
9584756187
Update language-data from upstream
...
* Add Bura (bwr)
* Add Tai Nua (tdd), with Thai Le writing system (Tale)
* Change autonym of Kanuri (kr)
* Add Occitan (oc) as a language of Spain
* Remove Tajik Cyrillic (tg-cyrl) as a language of Pakistan
Updating to
https://github.com/wikimedia/language-data/commit/0a7203ca51b4e5e56dab29daa03efd77a730411c
2022-06-13 12:40:25 +05:30
Amir E. Aharoni
1995aeb868
Update language-data
...
* Add Tai Nüa (tdd).
* Add Occitan to Spain.
Updating to
https://github.com/wikimedia/language-data/commit/5163dfcfe785289293ecf7df3e61393191c89828
2022-05-31 10:14:32 +05:30
Amir E. Aharoni
6fc0e736d9
Update language-data from upstream
...
Updating Efik (efi) autonym.
Updating to
https://github.com/wikimedia/language-data/commit/e5abc089ffba354edfeb20ec3dc85725b14f3051
2022-05-23 17:30:05 +05:30
Amir E. Aharoni
54864601fa
Update language-data
...
* Add Campidanese Sardinian (sro)
* Auto-update territory info: add Obolo (ann) to Nigeria
and Pijin (pis) to Solomon Islands.
Updating to
https://github.com/wikimedia/language-data/commit/627d49561e9d1728c2a82d09a4be40a665231c9a
2022-05-18 20:14:51 +05:30
Amir E. Aharoni
f422273d0f
Update language-data from upstream
...
* Fix location for Karay-a (krj) and Livvi-Karelian (olo)
* Fix autonyms for Kinyarwanda (rw), Okinawan (ryu),
and Kokborok (trp)
* Remove Eastern Yiddish (ydd), which is practically
identical to Yiddish (yi).
* Remove "Kana" as a separate writing systems, and merge it with "Jpan".
Updating to
https://github.com/wikimedia/language-data/commit/35f37b6c5fa14881bb9e107edc3d52c20272636e
2022-05-05 12:46:29 +05:30
Amir E. Aharoni
62bcddbd8f
Update language-data
...
Add Efik (efi).
Updating to
https://github.com/wikimedia/language-data/commit/fcb78913c6f220e0699b768b4bfde24bb4aab674
2022-04-13 13:00:57 +05:30
Amir E. Aharoni
85c3341aec
Update language-data
...
* Add rsk, fat
* Update Kirundi autonym
* Automatically reorder some language codes in region info
Updating to
https://github.com/wikimedia/language-data/commit/abc5ad4b4ec0055fbde6da676ed22e7e19cea292
2022-03-07 21:37:46 +05:30
Amir E. Aharoni
d0a5b92e57
Update language-data
...
* Add ken, bum
* Update region data for Canada and U.K.
(automatically from CLDR)
Updating to
https://github.com/wikimedia/language-data/commit/eb467ffa0f812ccc6d02c1c8028d26c3bddd525b
2022-02-24 18:14:29 +05:30
Amir E. Aharoni
fe46a2f7ce
Update language-data
...
* Added: fvr, mos, se-fi, se-no, se-se
* Added shy-latn, uz-cyrl, and uz-latn
for compatibility with MediaWiki.
* Added standard code for "Toki Pona" (tok),
keeping the non-standard "tokipona" as redirect
for backwards compatibility.
* Renamed "Sediq Taroko" to "Seediq".
* Added English as one of the languages of Maldives
(automatically from CLDR).
Updating to
https://github.com/wikimedia/language-data/commit/ed481a74378fa9aac7da82d36e238de2a29778d7
2022-02-02 16:22:57 +02:00
Amir E. Aharoni
c10140c12b
Upgrade eslint-config-wikimedia to 0.21.0
...
JavaScript code and comments changes:
* Remove no-multi-str disabling.
* Document $ parameter.
* Replace .substring() with .slice().
* Change assert.ok() to assert.strictEqual() in a test.
2022-01-31 11:13:58 +02:00
Amir E. Aharoni
04ec45d5fd
Update language-data from upstream
...
* Fix Angika autonym to "अंगिका"
* Add Nkore (nyn)
Updating to
https://github.com/wikimedia/language-data/commit/064aebfbda2e77bc6e36a4a3c1b80592d6078713
2022-01-17 18:05:10 +05:30
Amir E. Aharoni
57b52268d2
Update language-data from upstream
...
* Change autonyms for Nheengatu (yrl) and Abkhaz (ab)
* Add Aleut language (ale, ale-cyrl)
Updating to
https://github.com/wikimedia/language-data/commit/868370a287452e2a02cb8183c5691ca83da8ae4b
2022-01-03 14:19:55 +05:30
Amir E. Aharoni
09c410877d
Update language-data from upstream
...
Add:
* Aja (ajg)
* Logooli (rag)
Updating to
https://github.com/wikimedia/language-data/commit/2ea97c8bd4ad2f56f47824a942b2fb6bdac4b17a
2021-11-15 17:27:14 +05:30
Amir E. Aharoni
bc2f80a811
Update language-data from upstream
...
* Add: agq, gpe, mcn, nmz
* Split nod to nod (Tai Tham) and nod-thai, and add Tai Tham support
* Change Cyrillic-alphabet languages to lowercase
* Update autonym: ksw
2021-11-09 17:05:24 +02:00
Amir E. Aharoni
1b3e4265e6
Update language-data from upstream
...
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:
https://github.com/wikimedia/language-data/commit/ceb18ea4dd2efb86c1bb4f7aef2a49bf0c6fbb18
2021-10-11 11:37:17 +03:00
Abijeet
e3a9a11840
ULS LCD: Check if region exists before adding languages
...
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
2021-09-28 15:58:32 +03:00