Commit Graph

317 Commits

Author SHA1 Message Date
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
Amir E. Aharoni
b1338dd48d Automatic update of data/language-data.json 2022-08-18 11:30:24 +03:00
Amir E. Aharoni
3e5ec084db Add Esan language
Autonym according to Ethnologue.

Requested at
https://translatewiki.net/wiki/Thread:Support/Request_to_Add_New_Language
2022-08-01 17:28:02 +05:30
Amir E. Aharoni
0d800daf30 Fix Bunun autonym
I wrote the capital letter by mistake. It's not necessary.
2022-07-20 12:04:47 +05:30
Amir E. Aharoni
35357b552c Fix Wolaytta autonym
I wrote the capital letter by mistake. It's not necessary.
2022-07-20 11:56:56 +05:30
Amir E. Aharoni
1590ab0bd6 Add Yonaguni (yoi)
Requested at
https://translatewiki.net/wiki/Thread:Support/Adding_a_new_language,_ISO_639-3:_yoi_(Request)
2022-07-19 11:12:32 +05:30
Amir E. Aharoni
0d06ede77a Add Kalanga (kck)
Requested at
https://translatewiki.net/wiki/Thread:Support/Please_add_the_Kalanga_Language

Autonym according to Ethnologue.
2022-07-19 11:11:43 +05:30
Amir E. Aharoni
305a20363d Add Wolaytta (wal)
Requested for Wikipedia at
https://lists.wikimedia.org/hyperkitty/list/wikipedia-l@lists.wikimedia.org/thread/KODM5QNNLIKKC4THHQNJHBH3PME3YQJ7/

Autonym according to Ethnologue.
2022-07-19 11:03:10 +05:30
Abijeet
a029addbc1 Release notes for 1.1.0 (2022-07-07) 2022-07-08 21:02:54 +05:30
Abijeet
17cb847b93 Update PHP dependencies
Ran composer show --outdated and then composer update after updating
package.json

Fix CI failures:

* assertEmpty performs loose comparisons and should not be used.
2022-07-08 16:54:40 +05:30
Abijeet
d078c170d8 Update NPM dependencies
Updated as per the output for npm outdated
2022-07-08 16:47:49 +05:30
Amir E. Aharoni
0a7203ca51 Change Kanuri autonym to lowercase
In Kanuri, the name of the language is specifically
written in lowercase, according to
"Dictionary of the Kanuri Language"
Edited by: Norbert Cyffer and John Hutchinson
De Gruyter 1990.
2022-06-12 21:57:29 +03:00
Amir E. Aharoni
542dedeed8 Add Bura
Requested for translatewiki at
2022-06-12 21:56:31 +03:00
Amir E. Aharoni
c61debe308 Auto-update language-data.json
Pakistan regional data: remove tg-cyrl and reorder
some other languages.
2022-06-11 11:46:28 +03:00
Amir E. Aharoni
5163dfcfe7 Update language-data.json automatically
Adds Occitan to Spain.
2022-05-30 22:21:26 +03:00