Commit Graph
407 Commits
Author SHA1 Message Date
Amir E. AharoniandGitHub 251c4173ad Add Khoekhoe (a.k.a. Nama, naq) (#385)
Downstream task:
https://phabricator.wikimedia.org/T375535
2024-09-24 18:23:15 -07:00
655657fbc5 Updates for the unique autonyms test (#383)
* Move the unique autonyms test to the "autonyms" section

It was in the "redirects" section, and it makes
much more sense for it to be in the "autonyms" section.

* Case-insensitive test for unique autonyms

Autonyms for some languages are very similar or even identical,
but they should be unique in this system so that users
would be able to find the correct language unambiguously.

It's conceivable that someone (including myself) would add
an autonym that will be different only in its usage of
capital letters. This change modifies the test for
unique autonyms so that such cases would be prevented.

---------

Co-authored-by: SrishAkaTux <ssethi@wikimedia.org>
2024-09-17 17:23:07 -07:00
Amir E. AharoniandGitHub d8af8623ad Add Cham languages (cja, cjm) (#384)
It's one of the languages requested at
https://phabricator.wikimedia.org/T304386
with all those scripts.

It's also configured on translatewiki, but was
never added to language-data properly.

Autonyms according to this dictionary:
Abdul Majid Hj. Yunos (2010). Kamus Cam–Melayu Jawi Rumi
2024-09-17 17:09:33 -07:00
706bfbbf4a Add Jju (kaj) and Negeri Sembilan Malay (zmi) (#382)
Downstream tasks:
https://phabricator.wikimedia.org/T373928
https://phabricator.wikimedia.org/T373931

Co-authored-by: SrishAkaTux <ssethi@wikimedia.org>
2024-09-03 15:47:02 -07:00
877490cd05 Update the autonym of the Tigre language (tig) (#380)
Downstream task:
https://phabricator.wikimedia.org/T373741

Co-authored-by: SrishAkaTux <ssethi@wikimedia.org>
2024-09-03 14:04:07 -07:00
Amir E. AharoniandGitHub 0f9f330e48 Add Louisiana Creole (lou) (#378)
It has been on translatewiki.net for a while
so it should be here, too.
2024-09-03 13:37:44 -07:00
Amir E. AharoniandGitHub b519e4e878 Add Haryanvi (Arabic script; bgc-arab) (#381)
Downstream task:
https://phabricator.wikimedia.org/T373561
2024-09-03 13:06:29 -07:00
Amir E. AharoniandGitHub a10c3399da Add my email to composer.json (#379) 2024-08-28 12:30:45 +05:30
Amir E. AharoniandKartik Mistry 8f758f7926 Auto-update regional data
Reorder yue-hans and add ro to U.K.
2024-08-27 22:05:10 +05:30
Amir E. AharoniandGitHub f779fb2adb Add Ngiemboon (nnh) (#374)
Downstream task:
https://phabricator.wikimedia.org/T371985
2024-08-26 19:29:48 +05:30
Winston SungandAmir E. Aharoni 09890bfe89 Add Rukai (dru) (#376)
Bug: #376
Bug: T372407
Change-Id: I2371e742d5afdfbbaa1beea934901cbc23e9da5b
2024-08-14 09:36:38 -04:00
Amir E. AharoniandGitHub 1131659a3e Add Duala (dua) (#375)
Downstream request:
https://phabricator.wikimedia.org/T372173
2024-08-10 16:53:59 +02:00
Amir E. AharoniandGitHub 0bb87a541a Update Solomon Islands Pidgin (pis) autonym (#373)
Make it less ambiguous, so that it will be clearly distinct
from other pidgin languages, and findable by country
name.

This name is used, for example, here:
Beimers, Gerry (2009). Pijin: A Grammar of Solomon Islands Pidgin
(PhD thesis). The University of New England. page 26

And can also easily be found in many other sources.
2024-08-07 13:17:30 +02:00
Amir E. AharoniandGitHub 388fc168c1 Change hak configuration in line with core MediaWiki (#371)
Core MediaWiki now uses three separate codes for
three scripts, and one code that includes two names.
See https://gerrit.wikimedia.org/r/c/mediawiki/core/+/876411
2024-08-05 11:37:05 +02:00
Amir E. AharoniandKartik Mistry b096db2e5c Add Sabah Malay (msi)
Downstream task:
https://phabricator.wikimedia.org/T370355
2024-07-18 09:46:25 +05:30
Amir E. AharoniandKartik Mistry 9230913f10 Remove ruq-grek
It was added to core MediaWiki long ago for
unclear reasons, but it was never actually
used for anything, and it's probably
not needed anywhere.

It was already removed from core MediaWiki, too.

ruq-latn and ruq-cyrl should probably be removed,
too, but they were actually used for some things
in core MediaWiki, so that needs to be cleaned up
first.

See also downstream bug:
https://phabricator.wikimedia.org/T357981
2024-07-18 09:36:43 +05:30
Amir E. AharoniandGitHub 567d4ba0a1 Add Northern Tujia (tji) (#368)
It has been enabled on translatewiki.net for several
years, and should be included in ULS, too.
2024-07-17 18:05:07 -07:00
AbijeetandKartik Mistry e04ca2d650 Add some more language updates in changelog
Bug: https://phabricator.wikimedia.org/T369065
2024-07-12 18:09:33 +05:30
Amir E. AharoniandGitHub faf6bb8c13 Add Sheshi Kham (kip) (#365)
It has been used on translatewiki since 2017,
but was never added to language-data, so it's finally
fixed now.
2024-07-11 22:50:45 -07:00
Amir E. AharoniandGitHub 913002fdcb Add Tamazight (Latin) (zgh-latn) (#366)
It has been used in core MediaWiki,
so it needs to be in language-data, too.
2024-07-11 22:43:33 -07:00
AbijeetandAmir E. Aharoni de0af6ef96 Add release notes and update npm versions
Bug: https://phabricator.wikimedia.org/T369065
2024-07-11 10:28:52 -04:00
AbijeetandAmir E. Aharoni bc84f23fb0 Node: Update dependencies
* eslint-config-wikimedia: 0.27.0 --> 0.28.2
* mocha: 10.4.0 --> 10.6.0

Bug: https://phabricator.wikimedia.org/T369065
2024-07-11 10:26:59 -04:00
AbijeetandAmir E. Aharoni d8da35a6c0 Update PHP dependencies
```
Installing dependencies from lock file (including require-dev)
Package operations: 3 installs, 7 updates, 0 removals
  - Downloading nikic/php-parser (v5.1.0)
  - Downloading phpunit/phpunit (9.6.20)
  - Upgrading squizlabs/php_codesniffer (3.7.2 => 3.8.1): Extracting archive
dealerdirect/phpcodesniffer-composer-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "dealerdirect/phpcodesniffer-composer-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
  - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
  - Upgrading symfony/polyfill-php80 (v1.29.0 => v1.30.0): Extracting archive
  - Installing phpcsstandards/phpcsutils (1.0.9): Extracting archive
  - Installing phpcsstandards/phpcsextra (1.1.2): Extracting archive
  - Upgrading composer/semver (3.3.2 => 3.4.0): Extracting archive
  - Upgrading mediawiki/mediawiki-codesniffer (v42.0.0 => v43.0.0): Extracting archive
  - Upgrading nikic/php-parser (v5.0.2 => v5.1.0): Extracting archive
  - Upgrading myclabs/deep-copy (1.11.1 => 1.12.0): Extracting archive
  - Upgrading phpunit/phpunit (9.6.16 => 9.6.20): Extracting archive
Generating autoload files
```
Bug: https://phabricator.wikimedia.org/T369065
2024-07-11 10:19:21 -04:00
092ad61a5a Add Assyrian Neo-Aramaic (aii) (#359)
* Add Assyrian Neo-Aramaic (aii)

* update aii autonym

---------

Co-authored-by: Kartik Mistry <kartikm@users.noreply.github.com>
2024-07-10 10:21:48 -07:00
Amir E. AharoniandKartik Mistry cd9e46eef3 Add Abron (a.k.a. Bono, Brong, abr)
Downstream task:
https://phabricator.wikimedia.org/T369464
2024-07-09 09:55:22 +05:30
Amir E. AharoniandKartik Mistry 246c8200ea Add Torwali (trw)
Downstream task:
https://phabricator.wikimedia.org/T369578
2024-07-09 09:53:53 +05:30
Amir E. AharoniandKartik Mistry 6667c5e22d Make a less ambiguous autonym for acf
See the discussion at
https://translatewiki.net/w/i.php?title=User_talk:Suitcaseshoes&oldid=12502190
(especially towards the bottom).

This name is also verified using 2001 dictionary
published by SIL.
2024-07-06 17:26:49 +05:30
Amir E. AharoniandKartik Mistry 3a1dbf66cd Rename wlx autonym
wlx was recently added with the "waalii" autonym.
The translators asked to change the autonym,
and provided a reliable source:
https://translatewiki.net/w/i.php?title=Support&oldid=12497406#Requesting_Waali_language_with_language_code=wlx_to_be_added_to_Wikimedia
2024-07-03 19:30:43 +05:30
Amir E. AharoniandKartik Mistry e1c9ef0759 Add Kihunde (hke)
Downstream task:
https://phabricator.wikimedia.org/T369157
2024-07-03 18:07:24 +05:30
Amir E. AharoniandKartik Mistry 081ebb6071 Add Jakalteko (jac)
Downstream task:
https://phabricator.wikimedia.org/T369095
2024-07-03 10:27:25 +05:30
Amir E. AharoniandKartik Mistry a09e6d968e Add Interslavic (isv)
Downstream task:
https://phabricator.wikimedia.org/T366171
2024-07-02 10:43:38 +05:30
Amir E. AharoniandKartik Mistry b83868dd7f Update the autonym for ku-arab
Downstream bug report:
https://phabricator.wikimedia.org/T360021
2024-06-30 22:51:29 +05:30
Amir E. AharoniandKartik Mistry 86e291ad1c Change autonym for tdd 2024-06-30 21:02:58 +05:30
Amir E. AharoniandKartik Mistry eace985c8a Add Chitonga (toi) and Chiluvale (lue)
Downstream task:
https://phabricator.wikimedia.org/T368856
2024-06-30 21:01:43 +05:30
Amir E. AharoniandKartik Mistry c63a762cb6 Add Waalii (wlx)
Downstream task:
https://phabricator.wikimedia.org/T368858
2024-06-30 21:00:30 +05:30
Niklas LaxströmandKartik Mistry bae64a4171 Update node action versions
Hopefully addresses deprecation warnings
2024-06-30 20:58:57 +05:30
Amir E. AharoniandKartik Mistry f6ab0fc950 Add Edo (bin)
Downstream task:
https://phabricator.wikimedia.org/T368857
2024-06-30 20:57:10 +05:30
Amir E. AharoniandKartik Mistry 91f23d2bf8 Add Ekpeye (ekp)
Requested at
https://translatewiki.net/w/i.php?title=Support&oldid=12410268#Translating_Wikicontents_to_Ekpeye

Autonym according to
Ngulube, Isaac (2011). "Ekpeye Orthography".
Orthographies of Nigerian Languages. IX.
2024-05-18 19:31:42 +05:30
Amir E. AharoniandGitHub de417f4fd0 Auto-update language-data.json (#345)
Adds kaa to several countries and
replaces gom-deva with knn.
2024-05-17 21:03:07 +05:30
Amir E. AharoniandKartik Mistry ded69e1ab9 Correct autonym for American Sign Language
Addresses #294.
2024-05-06 13:52:37 +05:30
Amir E. AharoniandKartik Mistry 07593273ee Correct script for taq-tfng
Addresses #334.
2024-05-06 13:45:56 +05:30
Amir E. AharoniandKartik Mistry e1145de2ac Add Pothwari (phr)
It was recently added to translatewiki.
2024-05-06 13:40:35 +05:30
Amir E. AharoniandKartik Mistry 00627e8c09 Change mui autonym according to Ethnologue
This language was added long ago when mui and plm
were separate codes, and mui was "Musi" and plm
was "Palembang". The code plm was retired in 2008
and the only valid code now is mui, and its autonym
according to Ethnologue is "Baso Palembang".
This is also the name most commonly used by the
language's speakers according to the article
Alsamadani, Mardheya; Taibah, Samar (2019).
"Types and Functions of Reduplication in Palembang".
Journal of the Southeast Asian Linguistics Society.
2024-05-06 13:29:35 +05:30
Amir E. AharoniandGitHub 1d060301c1 Automatically recreate data/language-data.json (#340)
I mistakenly merged #314, in which this file was edited
manually, and not automatically using the script.

This fixes names that use '/' and removes several
languages and variants of China and Taiwan.

This also adds Ladin "lld" to Italy.
2024-05-06 11:31:09 +05:30
Amir E. AharoniandKartik Mistry 76897fa67c Add Iban (iba)
Downstream task:
https://phabricator.wikimedia.org/T361989
2024-04-17 18:41:29 +05:30
Winston SungandAmir E. Aharoni 6e5722b3d5 Update language names and region data
* `cdo` Mindong
* `cjy` Jin
* `cpx` Pu–Xian Min
* `gan` Gan
* `nan` Minnan
* `sh` Serbo-Croatian
* `wuu` Wu
* `zh` Mandarin (Chinese)

* `CN` Mainland China
* `HK` Hong Kong
* `MY` Malaysia
* `SG` Singapore
* `TW` Taiwan

Bug: #253
Bug: #314
Bug: T354937
Change-Id: I61befc6c1816a18899bb63d50f4aa29756d70605
2024-04-17 08:44:58 -04:00
NikkiandAmir E. Aharoni 9a4a96b734 Add Latin script for Manchu (mnc-latn)
Manchu (mnc) should be added to Names.php [1] but the translations are a
mixture of Latin and Mongolian scripts and need to be split [2].
For the autonym, see the existing translations [3] and the main page of the
Manchu Wikipedia in the Incubator [4].

[1] https://phabricator.wikimedia.org/T284043
[2] https://phabricator.wikimedia.org/T318496
[3] https://translatewiki.net/w/i.php?search=%22manju+gisun%22&ns8=1&ns1206=1
[4] https://incubator.wikimedia.org/wiki/Wp/mnc/%E1%A1%A0%E1%A0%B5%E1%A1%A0%E1%A1%B3_%E1%A0%A0%E1%A1%B6%E1%A0%A0%E1%A1%A5%E1%A0%A0
2024-04-16 22:55:13 -04:00
AbijeetandNiklas Laxström f311e83d9e Add release notes and update npm versions
Bug: https://phabricator.wikimedia.org/T360422
2024-04-15 17:12:15 +03:00
AbijeetandKartik Mistry b732c68aff Update PHP dependencies
Following dependencies were updated:

Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 10 updates, 0 removals
  - Upgrading nikic/php-parser (v5.0.0 => v5.0.2)
  - Upgrading phar-io/manifest (2.0.3 => 2.0.4)
  - Upgrading phpunit/php-code-coverage (9.2.30 => 9.2.31)
  - Upgrading sebastian/cli-parser (1.0.1 => 1.0.2)
  - Upgrading sebastian/diff (4.0.5 => 4.0.6)
  - Upgrading sebastian/exporter (4.0.5 => 4.0.6)
  - Upgrading sebastian/global-state (5.0.6 => 5.0.7)
  - Upgrading sebastian/resource-operations (3.0.3 => 3.0.4)
  - Upgrading symfony/polyfill-php80 (v1.28.0 => v1.29.0)
  - Upgrading theseer/tokenizer (1.2.2 => 1.2.3)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 0 updates, 12 removals
  - Removing symfony/yaml (v5.4.35)
  - Removing symfony/string (v5.4.36)
  - Removing symfony/service-contracts (v2.5.3)
  - Removing symfony/polyfill-php73 (v1.29.0)
  - Removing symfony/polyfill-mbstring (v1.29.0)
  - Removing symfony/polyfill-intl-normalizer (v1.29.0)
  - Removing symfony/polyfill-intl-grapheme (v1.29.0)
  - Removing symfony/polyfill-ctype (v1.29.0)
  - Removing symfony/deprecation-contracts (v2.5.3)
  - Removing symfony/console (v5.4.36)
  - Removing psr/container (1.1.2)
  - Removing mhujer/yaml-sort-checker (1.5.0)
Generating autoload files
29 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found

Bug: https://phabricator.wikimedia.org/T360422
2024-04-12 21:14:49 +05:30
AbijeetandKartik Mistry 1ee116b1d8 Update npm dependencies, drop Node.js 14 support
* eslint 8.56.0 --> 8.57.0 (No longer supports Node.js 14)
* eslint-config-wikimedia 0.26.0 --> 0.27.0
* mocha 10.2.0 --> 10.4.0

Drop Node.js 14 support, and add support for Node.js 20.

Bug: https://phabricator.wikimedia.org/T360422
2024-04-12 21:13:13 +05:30