Commit Graph
355 Commits
Author SHA1 Message Date
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
Amir E. AharoniandNiklas Laxström 2585a1835d Add Dendi (ddn)
Requested at
https://translatewiki.net/w/i.php?oldid=11511968#Demande_d'ajout_de_la_langue_Dendi

Autonym from the requested. There are several other
found online, but for simplicity, we can start with
this one now.
2023-04-03 15:23:13 +03:00
52c9e29714 Add Tausug (tsg) (#284)
Requested at
https://translatewiki.net/w/i.php?oldid=11462618#Request_for_inclusion_of_Tausug_(Sin%C5%ABg)_language_(tsg)

Autonym appears in Ethnologue, and was confirmed
by a native speaker.

Co-authored-by: Abijeet Patro <abijeetpatro@gmail.com>
2023-03-08 18:00:16 +05:30
Amir E. AharoniandGitHub 832e9da211 Add Haryanvi (bgc) (#283)
Autonym according to Ethnologue.

Requested at
https://translatewiki.net/w/i.php?oldid=11465315#Request_for_inclusion_of_Haryanvi_language
2023-03-08 17:57:25 +05:30
Amir E. AharoniandNiklas Laxström ac798369c8 Automatic update of region data
Mostly cosmetic changes. Adds CQ territory for backwards
compatibility,  moves the placement of lmo and apc
in the lists, and adds apc for Turkey.
2023-02-26 19:53:40 +02:00
Amir E. AharoniandNiklas Laxström 0b30abd05a Add Levantine Arabic (apc)
This replaces ajp, according to ISO's decision to merge
it into apc:
https://iso639-3.sil.org/code/ajp

Follow-up to
3ba6536d85
2023-02-23 15:58:48 +02:00
Amir E. AharoniandNiklas Laxström 4f14bcea9a Add Láadan (ldn)
Requested at
https://translatewiki.net/w/i.php?title=Support&oldid=11429494

With contstructed languages, there are sometimes potential issues
of copyright, but in this case, it seems OK. Looking at the website:

Is it possible to get permission to do things with Láadan?
What if I want to write poetry in Láadan, for example, or fiction?
What if I want to start a Láadan study group?
What if I want to make some changes in the language?

Answer: No living human language is “owned” by anyone or anything.
Since Láadan was launched as a scientific experiment, intended
to live or die on its own like any other language, there was
no way I could “own” it except in the sense of having copyrighted
its original form. From the very beginning, every chance I got,
I made it clear that I not only was willing to have other people
do things with the language, I encouraged it. Nobody has to have
my permission; nobody has to clear what they do with me,
or report to me, or anything like that.

from: https://laadanlanguage.com/articles/articles-by-suzette/laadan-faq/
2023-02-20 17:45:26 +02:00
Amir E. AharoniandNiklas Laxström 3ba6536d85 Automatic update of language-data.json
This removes ajp from countries.

This language code was deprecated and replaced by apc.

I'll add apc in a separate patch. ajp is still available.
2023-02-20 17:44:07 +02:00
NikkiandAmir E. Aharoni 629ce712e9 Add Jèrriais (nrf-je) and Guernésiais (nrf-gg)
In use in Wikidata for monolingual text [1] and lexemes [2].
For the autonym of Jèrriais, see [3] by the Société Jersiaise and the website Les Pages Jèrriaises [4].
For the autonym of Guernésiais, see [5] from gov.gg and [6] from BBC Guernsey. [7] from the Guernsey Language Commission, although in English, uses the same spelling.
Wikidata item for Jèrriais: https://www.wikidata.org/wiki/Q56430
Wikidata item for Guernésiais: https://www.wikidata.org/wiki/Q56428

[1] https://github.com/wikimedia/Wikibase/blob/425d9d47794b1e36a792be0180dd7f8d63bc6418/lib/includes/WikibaseContentLanguages.php#L144
[2] https://github.com/wikimedia/mediawiki-extensions-WikibaseLexeme/blob/548ead57fa89125962425efd6268d5c040353532/WikibaseLexeme.mediawiki-services.php#L27
[3] https://members.societe-jersiaise.org/sdllj/
[4] http://members.societe-jersiaise.org/geraint/jerriais.html
[5] https://www.gov.gg/article/188735/Oy-ous-Dvis-ous-lGuernsiais-Do-you-speak-Guernsey-French
[6] https://www.bbc.co.uk/guernsey/content/articles/2005/01/24/guernsey_french_learn_feature.shtml
[7] http://www.language.gg/
2023-02-16 14:39:23 +02:00
NikkiandAmir E. Aharoni 383fc69205 Add American English (en-us)
In use in Wikidata for labels, monolingual text and lexemes [1].

[1] https://gerrit.wikimedia.org/r/plugins/gitiles/operations/mediawiki-config/+/f7c596ad7737cd266edffa7f6c20916436ce586e/wmf-config/InitialiseSettings.php#21869 (large page)
2023-02-16 14:21:32 +02:00