Commit Graph

331 Commits

Author SHA1 Message Date
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] a573bea01b/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
Amir E. Aharoni
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. Aharoni
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. Aharoni
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. Aharoni
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
Abijeet
dc85045298 Update Changelog file and version in package.json
Bug: https://phabricator.wikimedia.org/T333823
2023-04-18 20:34:19 +03:00
Abijeet
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
Abijeet
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. Aharoni
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. Aharoni
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
Amir E. Aharoni
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. Aharoni
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. Aharoni
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. Aharoni
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. Aharoni
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. Aharoni
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
Nikki
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] 425d9d4779/lib/includes/WikibaseContentLanguages.php (L144)
[2] 548ead57fa/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
Nikki
383fc69205 Add American English (en-us)
In use in Wikidata for labels, monolingual text and lexemes [1].

[1] f7c596ad77/wmf-config/InitialiseSettings.php (21869) (large page)
2023-02-16 14:21:32 +02:00
Amir E. Aharoni
f1c2a81beb Add Hassaniya (mey)
Requested at
https://translatewiki.net/wiki/Thread:Support/Request_for_the_enabling_of_Hassaniya_in_TranslateWiki.

Name as in Ethnologue + article, as requested at
https://meta.wikimedia.org/wiki/Requests_for_new_languages/Wikipedia_Hassaniya
2023-01-28 11:46:45 +02:00
Amir E. Aharoni
16db71c2bc Add Hindko (hno)
Requested at
https://translatewiki.net/wiki/Thread:Support/Request_to_enable:_Hindko

Autonym according to Ethnologue.
2023-01-25 16:53:18 +05:30
Abijeet
37e096a7ad Add MLEB release notes 2023.01
Bug: https://phabricator.wikimedia.org/T326539
2023-01-25 12:50:59 +05:30
Abijeet
3d68489a08 Update npm dependencies
npm outdated showed the following:

* eslint - 8.26.0 --> 8.32.0
* eslint-config-wikimedia - 0.23.0 --> 0.24.0
* mocha - 10.1.0 --> 10.2.0
2023-01-22 07:14:39 +05:30
Abijeet
1def6a83a9 Bump minimum supported Node.js version to 14.0.0
Latest version of ESLint no longer supports v12.0.0 that went EOL
in April, 2022

Add Node.js 18.0.0 to CI
2023-01-22 07:14:39 +05:30
Abijeet
aa4cef355c Drop support for PHP 7.2, and update dependencies
In CI add tests for PHP 8.2
2023-01-21 11:15:53 +02:00
Amir E. Aharoni
66e804116b Add Arbëresh language (aae)
Requested at
https://translatewiki.net/wiki/Thread:Support/Enable_aae:_Arb%C3%ABrisht
2023-01-11 12:47:27 +02:00
Nikki
f95b5fe675 Fix Hawaiian (haw) autonym
The apostrophe-like character in the name is a letter called ʻokina [1].

[1] https://en.wikipedia.org/wiki/ʻOkina
2023-01-11 09:30:23 +02:00
Amir E. Aharoni
dd68ee8036 Add Igala (#270)
Requested at
https://translatewiki.net/wiki/Thread:Support/Igala_Language

For now, adding with the autonym "Igala", which appears
on Ethnologue. There are several variants with tones,
e.g. Igálá, Igáláà, Ígálâ, etc., but no apparent single
standard, so staritng with something simple that is safe
and easy to find.

Later, if a standard emerges, the autonym can be updated.
2023-01-10 18:31:09 +05:30
Amir E. Aharoni
ba54bf4c45 Add Manado language (xmm)
Requested at
https://translatewiki.net/wiki/Thread:Support/Request_to_add_Manadonese_in_Translatewiki

Autonym according to Ethnologue. (And Indonesian Wikimedians
usually ask not to include "Bahasa" and similar words.)
2022-12-07 16:49:30 +05:30
Nikki
c6073ec71e Add Monégasque (lij-mc)
In use in Wikidata for monolingual text [1] and lexemes [2].
For the autonym, see Dictionnaire Français-Monégasque [3] by the Comité National des Tradtions Monégasques and a page about the language [4] by the Académie des Langues Dialectales (Monaco).
Wikidata item: https://www.wikidata.org/wiki/Q56422

[1] 425d9d4779/lib/includes/WikibaseContentLanguages.php (L144)
[2] 548ead57fa/WikibaseLexeme.mediawiki-services.php (L27)
[3] http://www.traditions-monaco.com/dictionnaire-francais-monegasque
[4] http://www.ald-monaco.org/langues-monegasque/la-langue-monegasque-son-origine-et-sa-typologie-6
2022-12-07 11:46:23 +02:00
Nikki
6afb81623a Add Romansh variants
In use in Wikidata for monolingual text [1] and lexemes [2].
For the autonyms, see [3], an online dictionary by the Lia Rumantscha, an
umbrella organisation of Romansh language organisations and the dialects
section of [4], an article about Romansh in e-LIR, which is a Romansh
encyclopedia about the Romansh speaking area of Switzerland. Puter is sometimes
written "putèr", as noted in [5], but all three sites just mentioned use
"puter".

Wikidata items:
Puter: https://www.wikidata.org/wiki/Q688309
Rumantsch Grischun: https://www.wikidata.org/wiki/Q688873
Surmiran: https://www.wikidata.org/wiki/Q690216
Sursilvan: https://www.wikidata.org/wiki/Q688348
Sutsilvan: https://www.wikidata.org/wiki/Q688272
Vallader: https://www.wikidata.org/wiki/Q690226

[1] 425d9d4779/lib/includes/WikibaseContentLanguages.php (L144)
[2] 548ead57fa/WikibaseLexeme.mediawiki-services.php (L27)
[3] https://www.pledarigrond.ch/
[4] http://www.e-lir.ch/index.php?id=1440
[5] https://rm.wikipedia.org/wiki/Puter
2022-12-07 11:07:21 +02:00
Nikki
008d538d5a Add Høgnorsk (nn-hognorsk)
In use in Wikidata for lexemes [1].

For the autonym, see e.g. the Nynorsk Wikipedia's Høgnorsk version of the page
about Høgnorsk [1]. I've followed the same format as Bokmål and Nynorsk for
consistency.

[1] 548ead57fa/WikibaseLexeme.mediawiki-services.php (L27)
[2] https://nn.wikipedia.org/wiki/Hn/H%C3%B8gnorsk
2022-12-06 18:43:19 +02:00
wangombe
e26cc8c94f Add Nzema (nzi) and bèrom (bom) languages
Autonym according to Ethnologue.
Nzema (nzi) requested at: https://translatewiki.net/wiki/Thread:Support/A_REQUEST_CREATE_A_WIKIPEDIA_PLATFORM_OR_INTERFACE_MY_LANGUAGE_%27The_Nzema_%27
bèrom (bom) requested at: https://translatewiki.net/wiki/Thread:Support/Support_Berom_language
2022-12-01 16:05:55 +02:00
wangombe
8f0d2ce8c8 Add Kʋsaal and Dagaare languages
Requested at: https://translatewiki.net/wiki/Thread:Support/Support_request_for_Kusaal_and_Dagaare_languages_Wikipedia_incubators

Autonym according to Ethnologue.
2022-11-30 14:07:44 +02:00
wangombe
0e0622c265 Add Kʋsaal and Dagaare languages
Requested at: https://translatewiki.net/wiki/Thread:Support/Support_request_for_Kusaal_and_Dagaare_languages_Wikipedia_incubators

Autonym according to Ethnologue.
2022-11-30 14:07:44 +02:00
wangombe
26d8a5c9bb Automatic change: Add ajp language 2022-11-30 14:02:21 +02:00
Abijeet Patro
b2e4a3a4d6 Release notes for 1.1.1 (2022-10-27) (#257) 2022-10-27 21:29:21 +05:30
Abijeet Patro
83516007c7 Update PHP dependencies (#256)
Ran composer show --outdated and then composer update after updating
composer.json
2022-10-27 21:28:06 +05:30
Abijeet Patro
d53c2429b5 Update NPM dependencies (#255)
Updated as per output of npm outdated. Also ran npm update
2022-10-27 21:27:02 +05:30
Amir E. Aharoni
af77a5dc50 Add Magahi
Requested at
https://translatewiki.net/wiki/Thread:Support/Magahi_language

Autonym according to Ethnologue.
2022-10-04 22:54:56 +05:30
Amir E. Aharoni
7de21c489f Add Iraqi Arabic (acm)
Requested at
https://translatewiki.net/wiki/Thread:Support/Portal:Acm

Autonym according to Ethnologue, but shortened (without
the word "language").
2022-09-05 18:44:50 +05:30
Amir E. Aharoni
80b389b48d Add Makassarese (mak)
Requested at
https://translatewiki.net/wiki/Thread:Support/Request_to_reactivate_Makassarese_to_Translatewiki

Autonyms in Latin and Lontara script according
to page 187 in this dictionary:
Kamus Makassar-Indonesia, Drs. Aburaerah Arief, 1995

Comment: It appears that there are two spelling standards.
In the other one, the name is written with an apostrophe
instead of the letter k in the end. The one with k appears to be
the common one in Indonesian publications, and is
used in the Wikimedia Incubator. If the speakers' community
ever decides to move the spelling with the apostrophe,
the name can be changed.
2022-08-29 18:19:49 +05:30
Amir E. Aharoni
14832e7565 Fix the autonym of the Iñupiaq language
Verified with Ethnologue, https://www.inupiaqonline.com dictionary,
and other sources.

Downstream bug report:
https://phabricator.wikimedia.org/T315406
2022-08-18 11:38:01 +03:00