Commit Graph
364 Commits
Author SHA1 Message Date
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
Amir E. AharoniandGitHub a4bc253c92 Add Petjoh (pey) (#335)
Downstream task:
https://phabricator.wikimedia.org/T356248
2024-02-07 21:42:25 +05:30
Amir E. AharoniandKartik Mistry 83e5c98006 Add Ebira (igb)
Downstream task:
https://phabricator.wikimedia.org/T356104
2024-01-30 10:58:49 +05:30
Abijeet PatroandGitHub f68f527f96 composer.json: Add ext-curl to dev dependencies (#331)
Fixes #323
2024-01-24 21:32:47 +05:30
Abijeet PatroandGitHub c93a25d15e PHP: Update dependencies (#328)
Outdated packages:

phpunit/phpunit           9.6.13  9.6.16

Transitive dependencies not required in
composer/semver           3.3.2   3.4.0
composer/spdx-licenses    1.5.7   1.5.8
nikic/php-parser          v4.17.1 v5.0.0
phpunit/php-code-coverage 9.2.29  9.2.30
sebastian/complexity      2.0.2   2.0.3
sebastian/lines-of-code   1.0.3   1.0.4
squizlabs/php_codesniffer 3.7.2   3.8.1
theseer/tokenizer         1.2.1   1.2.2

Bug: https://phabricator.wikimedia.org/T355106
2024-01-24 21:18:01 +05:30
Abijeet PatroandGitHub 2806ecdb86 Node: Update dependencies (#329)
Package                  Current  Wanted  Latest
eslint                    8.52.0  8.52.0  8.56.0
eslint-config-wikimedia   0.25.1  0.25.1  0.26.0

Bug: https://phabricator.wikimedia.org/T355106
2024-01-24 21:16:40 +05:30
Abijeet PatroandGitHub 07053fa8c0 Add release notes and update npm versions (#330)
Bug: https://phabricator.wikimedia.org/T355106
2024-01-24 21:14:31 +05:30
Amir E. AharoniandGitHub 39add8fb48 Add Nupe (nup) (#327)
Requested at https://translatewiki.net/w/i.php?title=Support&oldid=12184726#Add_Nupe_language
2024-01-18 16:54:59 +05:30
e0668f1e29 Add Gondi and Kolami (#324)
Requested at translatewiki:
https://translatewiki.net/w/i.php?title=Support&oldid=11456484

Gondi autonym according to Ethnologue.

Kolami autonym assumed to be the same as in Telugu,
and it also appears in the Incubator.

Co-authored-by: Niklas Laxström <niklas.laxstrom@gmail.com>
2024-01-08 17:05:35 +02:00
ff0e456061 Update Mon (mnw) autonym (#325)
Downstream bug: https://phabricator.wikimedia.org/T352776

Co-authored-by: Niklas Laxström <niklas.laxstrom@gmail.com>
2024-01-08 11:10:05 +02:00
Amir E. AharoniandGitHub 01064b5e53 Add Nyoro (nyo) and Tooro (ttj) (#326)
Requested at
https://translatewiki.net/w/i.php?title=Support&oldid=12164143

Autonyms at Ethnologue are without the o- prefix,
but the requester asked for names with it. While
I cannot point to a particular source, the names with
the prefix appear a lot in web searches, so I respect
the request.
2024-01-08 11:07:39 +02:00
Jon Harald SøbyandGitHub 29df0255d5 Add Komering (#322)
Add the Komering language (Latin and Arabic scripts), recently
added to Translatewiki.net. Autonyms according to Wikipedia and
requester on Translatewiki.net.
2023-11-20 15:19:40 +02:00
Amir E. AharoniandNiklas Laxström 12d0fe8881 Add Western Apache
Recently added to translatewiki.

Autonym according to Ethnologue.
2023-10-26 21:25:30 +03:00
Abijeet PatroandGitHub bbdf55c114 Add release notes and update npm versions (#320)
Bug: https://phabricator.wikimedia.org/T347849
2023-10-25 17:58:35 +05:30
12b073a5ef PHP: Update dependencies (#319)
mediawiki/mediawiki-codesniffer v41.0.0 v42.0.0 MediaWiki CodeSniffer Standards
phpunit/phpunit                 9.6.10  9.6.13  The PHP Unit Testing framework.

Bug: https://phabricator.wikimedia.org/T347849

Co-authored-by: Niklas Laxström <niklas.laxstrom@gmail.com>
2023-10-25 15:03:17 +05:30
AbijeetandNiklas Laxström 10718b6a44 Node: Update eslint to 8.52.0 2023-10-25 11:13:48 +03:00
AbijeetandNiklas Laxström 26619f821d Node: Fix npm audit issues
semver  7.0.0 - 7.5.1
Severity: moderate
semver vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
2023-10-25 11:13:20 +03:00
Amir E. AharoniandNiklas Laxström 1247ba075f Add Dangme
Requested for translatewiki at
https://translatewiki.net/w/i.php?title=Support&oldid=11959150#Proposal_to_Add_the_Da%C3%B1gme_Language_on_the_Incubated_Wikipedia_Page

Autonym according to Ethnologue.
2023-10-23 18:48:46 +03:00
Amir E. AharoniandNiklas Laxström 37d568fd6a Autoupdate language-data.json
Add some languages to territories.
2023-10-23 18:39:54 +03:00
SrishakatuxandKartik Mistry 9d51544b5b Remove akan
Updated `langdb.yaml` and `language-data.json`

Bug: T333765
2023-08-23 10:53:11 +05:30
Amir E. AharoniandKartik Mistry 6ad65623c8 Add Najdi (ars)
Used in MinT.

Autonym according to Ethnologue.

Downstream task: https://phabricator.wikimedia.org/T336683
2023-08-02 19:29:41 +05:30
Amir E. AharoniandKartik Mistry f54835f163 Add Bole (bol) and Karekare (kai)
Both were recently added to translatewiki.

Bole autonym according to the review article
Schuh, Russell G. (October 1996).
"Dymitr Ibriszimow and Alhaji Maina Gimba (ed.):
Bole language and documentation Unit (BOLDU), Report I."
Bulletin of the School of Oriental and African Studies. 59 (3): 620–621.

Karekare autonym according to the book
"Dindeno, asumka waɗo mabo Karai-karai"
Yobe Languages Research Project 2009
https://ucla.app.box.com/s/xvpgk2ecl73nwnjyyo7g80fsr96mtsbz
2023-07-31 14:23:27 +05:30
Amir E. AharoniandGitHub 0eb8e84e8a Remove unnecessary configuration from .eslint.rc (#308)
* Remove unnecessary rule customization from .eslintrc.json

* Remove qunit and jquery configuratio from .eslint.rc

QUnit and jQuery are not used in this package,
and having them in the configuration has no effect.
2023-07-24 13:12:26 +05:30
91844c17e5 Remove assert from package.json (#309)
It appears to be included in Mocha.

Co-authored-by: Abijeet Patro <abijeetpatro@gmail.com>
2023-07-24 13:07:54 +05:30
Amir E. AharoniandGitHub fde3f5ecde Add Pintupi-Luritja (#310)
Requested for translatewiki at
https://translatewiki.net/w/i.php?title=Support&oldid=11766863#New_language:_Pintupi-Luritja
2023-07-24 12:50:08 +05:30
AbijeetandAmir E. Aharoni 02902425b8 Add release notes and update npm versions
Bug: https://phabricator.wikimedia.org/T340730
2023-07-17 13:07:41 +03:00
AbijeetandAmir E. Aharoni 704fdab645 PHP: Update dependencies
Package operations: 0 installs, 3 updates, 0 removals
  - Downloading phpunit/phpunit (9.6.10)
  - Upgrading sebastian/diff (4.0.4 => 4.0.5): Extracting archive
  - Upgrading nikic/php-parser (v4.15.4 => v4.16.0): Extracting archive
  - Upgrading phpunit/phpunit (9.6.7 => 9.6.10): Extracting archive

Bug: https://phabricator.wikimedia.org/T340730
2023-07-17 13:04:52 +03:00
AbijeetandAmir E. Aharoni 6cfc8f11ee Node: Update dependencies
Fixes some audit issues, some remain but that's OK since these are
just dev dependencies.

Remaining issue:

```
semver  7.0.0 - 7.5.1
Severity: moderate
https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
fix available via `npm audit fix --force`
Will install eslint-config-wikimedia@0.17.0, which is a breaking change
```
Bug: https://phabricator.wikimedia.org/T340730
2023-07-17 12:59:13 +03:00
Amir E. AharoniandGitHub c54454f4a2 Sort language YAML file alphabetically (#303) 2023-07-17 14:22:35 +05:30
Amir E. AharoniandGitHub eca5c5f53c Split Buginese to Latin and Lontara script (#304)
The main script used today is Latin.

Addresses #291.
2023-07-17 12:15:39 +05:30
Amir E. AharoniandGitHub 8ebcffce92 Add wuu and yue variants (#302)
Downstream bug:
https://phabricator.wikimedia.org/T340674
2023-07-13 17:28:24 +05:30
NikkiandAmir E. Aharoni 1198216857 Add script variants for Serbo-Croatian (sh-cyrl and sh-latn)
Script variants for Serbo-Croatian have been added to Names.php [1] as part of
the changes for adding a language converter [2].

[1] https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/a573bea01b7f05186324327cbcdf804644b863d2/includes/languages/data/Names.php#422
[2] https://phabricator.wikimedia.org/T268033
2023-07-13 10:42:02 +03:00
Amir E. AharoniandKartik Mistry 6deb5b2ce2 Run src/util/ulsdata2json.php
Sorry, I forgot to do it in #300.
2023-06-12 18:04:45 +05:30
Amir E. AharoniandKartik Mistry 123d84e61a Update Betawi (bew) autonym
See https://translatewiki.net/w/i.php?title=User_talk:Bangrapip&oldid=11652488
2023-06-12 13:33:09 +05:30
Amir E. AharoniandKartik Mistry 99529ee4cb Add cpx with three variants
Has been used on translatewiki for a while.
2023-06-06 12:53:10 +05:30
Amir E. AharoniandKartik Mistry 37817e1c2e Update the autonym for Guadeloupean Creole (gcf)
The language was added long ago with an English name.

Source for the correct autonym:
https://apics-online.info/contributions/50
2023-06-06 12:51:05 +05:30
Amir E. AharoniandKartik Mistry 894bcff197 Correct Choctaw autonym
Addresses downstream issue
https://phabricator.wikimedia.org/T256647

The spelling and the capitalization are according to
"New Choctaw Dictionary", 2016
https://choctawschool.com/media/369055/New%20Choctaw%20Dictionary.pdf
2023-06-06 12:49:09 +05:30
Amir E. AharoniandKartik Mistry aac99ec3fd Add Brazilian Sign Language
Requested at
https://translatewiki.net/w/i.php?title=Support&oldid=11615943#Request_for_inclusion_of_Brazilian_Sign_Language

The name is written in Portuguese. This is similar
to how it's done with American Sign Language (ase), which
uses an English "autonym", and that's also what
was requested for the Brazilian Sign Language.
2023-06-06 12:48:02 +05:30
Amir E. AharoniandKartik Mistry 4198119b5c Add languages used in Wikimedia MinT
Autonyms from Ethnologue, except Tamasheq (taq),
whose Tifinagh spelling is taken from the Russian Wikipedia.
2023-05-10 16:33:15 +05:30
Amir E. AharoniandNiklas Laxström d8b9138988 Add Crimean Tatar (Romania)
Requested at
https://translatewiki.net/w/i.php?title=Support&oldid=11570972
2023-05-03 14:27:33 +03:00
AbijeetandNiklas Laxström dc85045298 Update Changelog file and version in package.json
Bug: https://phabricator.wikimedia.org/T333823
2023-04-18 20:34:19 +03:00
AbijeetandNiklas Laxström 75bd6a4d59 Node: Update dependencies
npm outdated

Package  Current  Wanted  Latest  Location             Depended by
eslint    8.32.0  8.32.0  8.38.0  node_modules/eslint  language-data

npm update output:

added 1 package, removed 3 packages, changed 23 packages, and audited
262 packages in 2s

Bug: https://phabricator.wikimedia.org/T333823
2023-04-18 14:46:47 +03:00
AbijeetandNiklas Laxström 6fd751bac1 PHP: Update dependencies
Output of composer outdated:

Direct dependencies required in composer.json:
mediawiki/mediawiki-codesniffer v39.0.0 v41.0.0
phpunit/phpunit                 9.5.25  9.6.7

Transitive dependencies not required in compose
myclabs/deep-copy               1.11.0  1.11.1
nikic/php-parser                v4.15.3 v4.15.4
phpunit/php-code-coverage       9.2.23  9.2.26
sebastian/environment           5.1.4   5.1.5
sebastian/recursion-context     4.0.4   4.0.5
sebastian/type                  3.2.0   3.2.1
squizlabs/php_codesniffer       3.6.2   3.7.2

Manually updated phpunit and mediawiki-codesniffer.
Update phpunit.xml file as per latest format.

Bug: https://phabricator.wikimedia.org/T333823
2023-04-18 14:33:46 +03:00
Amir E. AharoniandNiklas Laxström 7c53b11762 Add Ibibio (ibb)
Requested at
https://translatewiki.net/w/i.php?oldid=11512120#Request_for_inclusion_of_Ibibio_language

Authonym according to Ethnologue.
2023-04-03 18:51:08 +03:00