Commit Graph

488 Commits

Author SHA1 Message Date
Nəriman Məmmədli
27ba912d9b Update language-data from upstream (#493)
* Update language-data from upstream

* Update Central Dusun autonym

* Update language-data from upstream
2024-10-19 12:47:02 -04:00
Amir E. Aharoni
8b10421221 Update language-data from upstream
Add:
* Acholi (ach)
* Lango (laj)
* Mansi (mns)

Update autonym:
* Komering (kge, kge-arab)

Also set up Manchu (mnc) as:
* mnc (in practice Latin script)
* mnc-latn (redirect to mnc)
* mnc-mong (Mongolian/Manchu script)
This may be changed later, but for now,
this is the situtation in core MediaWiki,
so working with that.

Updating to
5fee9a371c
2024-10-01 12:36:16 -07:00
Amir E. Aharoni
52f6ee5180 Update language-data from upstream
* Add Western and Eastern Cham (cja, cjm)
* Add Khoekhoe (a.k.a. Nama, naq)

Updating to
251c4173ad
2024-09-25 08:47:53 +05:30
Amir E. Aharoni
370ba0a477 Update language-data from upstream
Add:
* Haryanvi (Arabic script, bgc-arab)
* Jju (kaj)
* Louisiana Creole (lou)
* Negeri Sembilan Malay (zmi)

Update autonym:
* Tigre (tig)

Territory information:
* Add Romanian to Great Britain
2024-09-04 13:16:23 -07:00
Amir E. Aharoni
4d90e5e165 Update language-data from upstream
* Add:
** Rukai (dru)
** Duala (dua)
** Ngiemboon (nnh)

* Split Hakka to different scripts
* Update Solomon Islands Pijin autonym

Updating to:
f779fb2adb
2024-08-26 12:34:22 -07:00
Amir E. Aharoni
89c21c855a Update language-data from upstream
Add:
* Assyrian Neo-Aramaic (aii)
* Sheshi Kham (kip)
* Sabah Malay (msi)
* Northern Tujia (tji)
* Standard Moroccan Amazigh (Latin script; zgh-latn)

Remove:
* Megleno-Romanian (Greek script) - added to core
  MediaWiki long ago, never actually used, and already
  removed there. See also https://phabricator.wikimedia.org/T357981
2024-07-18 14:49:30 -07:00
Amir E. Aharoni
aac786e64f Update language-data from upstream
* Add Assyirian Neo-Aramaic (aii)

Updating to
de0af6ef96
2024-07-11 22:53:46 +05:30
Amir E. Aharoni
cb8aacaf46 Update language-data from upstream
* Add: Abron (abr), Torwali (trw)
* Update autonym: Saint Lucian Creole (acf)
2024-07-09 17:07:40 -07:00
Amir E. Aharoni
0c657dceaf Update language-data from upstream
Add:
* Kihunde (hke)
* Interslavic (isv, isv-cyrl, isv-latn)
* Jakaltek (jac)

Fix autonym:
* Wali (wlx)
2024-07-03 19:49:47 +05:30
Amir E. Aharoni
6688ce4974 Update language-data from upstream
Add:
* Edo (bin)
* Chiluvale (lue)
* Chitonga (toi)
* Waali (wlx)

Update autonym:
* ku-arab
* tdd
2024-07-01 10:21:13 +05:30
Amir E. Aharoni
1f4fc30aa5 Update a call to a deprecated method
Reported by a GitHub action:
https://github.com/wikimedia/jquery.uls/pull/478/files#file-src-jquery-uls-core-js-L331
2024-06-30 14:30:44 -04:00
Amir E. Aharoni
24ce6d6cd7 Update language-data from upstream
* Add ekp
* Add kaa to several countries
* Replace gom-deva with knn in India
2024-05-18 20:11:20 +05:30
Amir E. Aharoni
4adb53b9d8 Update language-data from master
* Fix capitalization of ase.
* Add phr.
* Update autonyms of cdo, cpx, mui, nan, sh.
* Fix script for taq-tfng.
* Add lld to Italy.
* Remove Taiwanese and Chinese languages that were
  added to several countries incorrectly.
  This will possibly be resolved some time later
  using a different customization technique.
2024-05-06 15:10:33 +05:30
Amir E. Aharoni
bf3158c8c8 Update language-data from upstream
* Add Iban (iba) and Luba-Kasai (lua)
* Update configuration for several languages of China:
  cdo, cjy, cpx, gan, nan, wuu
* Add Manchu (Latin, mnc-latn)
* Add Cyrillic name to Serbo-Croatian
* Remove artificial languages (tok, vo) from Canada
  and Germany (done automatically)

Updating to
76897fa67c
2024-04-18 09:14:49 +05:30
Amir E. Aharoni
b90f3dfe05 Update language-data from upstream
Add Ebira (igb), Nupe (nup), Petjo (pey).

Updating to
a4bc253c92
2024-02-08 10:51:30 +05:30
Amir E. Aharoni
638462d10d Update language-data from upstream (#473)
* Update Mon (mnw) autonym
  https://phabricator.wikimedia.org/T352776
* Add:
** Gondi (wsg)
** Kolami (nit)
** Nyoro (nyo)
** Tooro (ttj)
2024-01-09 09:25:24 +05:30
Amir E. Aharoni
749c878548 Update language-data from upstream
* Add: apw, kge, kge-arab

Updating to
29df0255d5
2023-11-27 15:36:05 +02:00
Abijeet
d16d2be0ee Update language-data to the latest version
Bug: https://phabricator.wikimedia.org/T347849
2023-10-25 15:35:02 +03:00
Jon Harald Søby
b686fe6170 Focus ULS button when the language menu is closed with Escape (#468)
Before this, the focus would return to the <body> element (i.e. at
the very top of the document) when you hit the Escape key, instead
of the ULS button, so if you were navigating with the keyboard, you
would have to tab through all preceding focusable elements before
you got back to the language button (and beyond).

Bug: https://phabricator.wikimedia.org/T325009
2023-08-25 18:59:49 +05:30
Amir E. Aharoni
9d623bd958 Update language-data from upstream (#467)
* Add Bole (bol) and Karai-Karai (Karekare; code kai).

Updating to
f54835f163
2023-07-31 16:10:15 +05:30
Amir E. Aharoni
95e50bb37b Shorten a comment line (#464)
Recommended atomatically at
https://github.com/wikimedia/jquery.uls/pull/463/files
2023-07-24 13:41:50 +05:30
Amir E. Aharoni
372ebc2f77 Update language-data from upstream (#465)
* Add Pintupi-Luritja (piu)
* Internal alphabetical reordering of languages in the data file.

Updating to
0eb8e84e8a
2023-07-24 13:41:19 +05:30
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
eca5c5f53c
2023-07-17 12:40:41 +05:30
Amir E. Aharoni
07452b3ca1 Update language-data from upstream
Update Betawi autonym (bew)

Updating to:
6deb5b2ce2
2023-06-12 18:18:14 +05:30
Amir E. Aharoni
03396b63c0 Update language-data from upstream
Updating to:
99529ee4cb
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
4198119b5c
2023-05-10 16:54:53 +05:30
Amir E. Aharoni
c9ba48b906 Update language-data from upstream
Add Crimen Tatar (Romania).

Updating to
d8b9138988
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
7c53b11762
2023-04-04 08:45:47 +05:30
Amir E. Aharoni
94f9001a4f Update language-data from upstream
Updating to
2585a1835d
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
52c9e29714
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
f1c2a81beb
2023-01-29 11:23:06 +02:00
Amir E. Aharoni
33ded5382c Update language-data from upstream
Add Hindko (hno).

Updating to:
16db71c2bc
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)

66e804116b
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
f95b5fe675
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