If you are interested in working on this task, you can create a subtask for the language wiki (see the checklist in the task description below) that you plan to work on and assign the task to yourself.
Description
Some languages with variants and redirects can appear in the Universal Language Selector (ULS) twice. In lieu of fixing T372034, it seems that not only is Punjabi (Gurmukhi) appearing twice, but there are also around 30 other languages with redirects showing up twice as well.
For Punjabi, for example, in data/langdb.yaml and data/language-data.json, pa-guru was made a redirect for pa instead of the other way around. And language codes, if any, were reversed in tests/js/index.js.
Example fixes:
- https://github.com/wikimedia/language-data/pull/400/files
- https://github.com/wikimedia/jquery.uls/pull/495
This process needs to be repeated for all affected languages.
Steps to follow:
- Update language-data:
- Fix redirects in langdb.yaml and language-data.json
- Check and reverse language code if needed in tests/js/index.js
- Update jquery.uls with the new language data from upstream
# | Languages to check and fix | Assignee | Status |
---|---|---|---|
1 | адыгабзэ (ady-cyrl/ady) | ||
2 | تونسي / Tûnsî (aeb/aeb-arab) | ||
3 | azərbaycanca (az/az-latn) | @Nemoralis | T394873 🔄 |
4 | تۆرکجه (azb/az-arab) | @Nemoralis | T394873 🔄 |
5 | Batak Toba (bbc/bbc-latn) | ||
6 | भोजपुरी (bh/bho) | ||
7 | Chavacano de Zamboanga (cbk-zam/cbk) | ||
8 | qırımtatarca (Latin) (crh-latn/crh) | ||
9 | गोंयची कोंकणी / Gõychi Konknni (gom/gom-deva) | ||
10 | Fiji Hindi (hif-latn/hif) | ||
11 | ᐃᓄᒃᑎᑐᑦ / inuktitut (iu/ike-cans) | ||
12 | адыгэбзэ (kbd-cyrl/kbd) | ||
13 | қазақша (kk/kk-cyrl) | ||
14 | قازاقشا (جۇنگو) (kk-cn/kk-arab) | ||
15 | қазақша (Қазақстан) (kk-kz/kk-cyrl) | ||
16 | qazaqşa (Türkïya) (kk-tr/kk-latn) | ||
17 | kurdî (ku/ku-latn) | ||
18 | Ladino (lad/lad-latn) | ||
19 | ਪੰਜਾਬੀ (pa/pa-guru) | @srishakatux | T372034 ✅ |
20 | Влахесте (ruq-cyrl/ruq) | ||
21 | Taclḥit (shi/shi-latn) | ||
22 | tacawit (shy/shy-latn) | ||
23 | سرائیکی (skr/skr-arab) | ||
24 | српски / srpski (sr/sr-cyrl) | ||
25 | српски (ћирилица) (sr-ec/sr-cyrl) | ||
26 | srpski (latinica) (sr-el/sr-latn) | ||
27 | тоҷикӣ (tg/tg-cyrl) | ||
28 | татарча (tt-cyrl/tt) | ||
29 | ئۇيغۇرچە / Uyghurche (ug/ug-arab) | ||