Commit Graph

372 Commits

Author SHA1 Message Date
Niklas Laxström bae64a4171 Update node action versions
Hopefully addresses deprecation warnings
2024-06-30 20:58:57 +05:30
Amir E. Aharoni f6ab0fc950 Add Edo (bin)
Downstream task:
https://phabricator.wikimedia.org/T368857
2024-06-30 20:57:10 +05:30
Amir E. Aharoni 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. Aharoni 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. Aharoni ded69e1ab9 Correct autonym for American Sign Language
Addresses #294.
2024-05-06 13:52:37 +05:30
Amir E. Aharoni 07593273ee Correct script for taq-tfng
Addresses #334.
2024-05-06 13:45:56 +05:30
Amir E. Aharoni e1145de2ac Add Pothwari (phr)
It was recently added to translatewiki.
2024-05-06 13:40:35 +05:30
Amir E. Aharoni 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. Aharoni 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. Aharoni 76897fa67c Add Iban (iba)
Downstream task:
https://phabricator.wikimedia.org/T361989
2024-04-17 18:41:29 +05:30
Winston Sung 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
Nikki 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
Abijeet f311e83d9e Add release notes and update npm versions
Bug: https://phabricator.wikimedia.org/T360422
2024-04-15 17:12:15 +03:00
Abijeet 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
Abijeet 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. Aharoni a4bc253c92 Add Petjoh (pey) (#335)
Downstream task:
https://phabricator.wikimedia.org/T356248
2024-02-07 21:42:25 +05:30
Amir E. Aharoni 83e5c98006 Add Ebira (igb)
Downstream task:
https://phabricator.wikimedia.org/T356104
2024-01-30 10:58:49 +05:30
Abijeet Patro f68f527f96 composer.json: Add ext-curl to dev dependencies (#331)
Fixes #323
2024-01-24 21:32:47 +05:30
Abijeet Patro 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 Patro 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 Patro 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. Aharoni 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
Amir E. Aharoni 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
Amir E. Aharoni 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. Aharoni 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øby 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. Aharoni 12d0fe8881 Add Western Apache
Recently added to translatewiki.

Autonym according to Ethnologue.
2023-10-26 21:25:30 +03:00
Abijeet Patro bbdf55c114 Add release notes and update npm versions (#320)
Bug: https://phabricator.wikimedia.org/T347849
2023-10-25 17:58:35 +05:30
Abijeet Patro 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
Abijeet 10718b6a44 Node: Update eslint to 8.52.0 2023-10-25 11:13:48 +03:00
Abijeet 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. Aharoni 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. Aharoni 37d568fd6a Autoupdate language-data.json
Add some languages to territories.
2023-10-23 18:39:54 +03:00
Srishakatux 9d51544b5b Remove akan
Updated `langdb.yaml` and `language-data.json`

Bug: T333765
2023-08-23 10:53:11 +05:30
Amir E. Aharoni 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. Aharoni 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. Aharoni 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
Amir E. Aharoni 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. Aharoni 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
Abijeet 02902425b8 Add release notes and update npm versions
Bug: https://phabricator.wikimedia.org/T340730
2023-07-17 13:07:41 +03:00
Abijeet 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
Abijeet 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. Aharoni c54454f4a2 Sort language YAML file alphabetically (#303) 2023-07-17 14:22:35 +05:30
Amir E. Aharoni 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. Aharoni 8ebcffce92 Add wuu and yue variants (#302)
Downstream bug:
https://phabricator.wikimedia.org/T340674
2023-07-13 17:28:24 +05:30
Nikki 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. Aharoni 6deb5b2ce2 Run src/util/ulsdata2json.php
Sorry, I forgot to do it in #300.
2023-06-12 18:04:45 +05:30
Amir E. Aharoni 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. Aharoni 99529ee4cb Add cpx with three variants
Has been used on translatewiki for a while.
2023-06-06 12:53:10 +05:30
Amir E. Aharoni 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