Commit Graph

233 Commits

Author SHA1 Message Date
Abijeet Patro
b25ce367fb Update npm modules and drop support for Node.js 10 (#196)
Following packages have been updated:

* eslint
* eslint-config-wikimedia
* mocha
2022-01-18 19:56:41 +05:30
Abijeet
daa44ed137 Update composer dependencies
Update the following dependencies:

* php-unit
* mediawiki-codesniffer

Use specific dependencies.

Fix issues highlighted by new rules in mediawiki-codesniffer
2022-01-18 13:12:47 +02:00
Amir E. Aharoni
064aebfbda Add the Nyankore language (nyn)
Requested at
https://en.wikipedia.org/w/index.php?title=User_talk:Amire80&oldid=1065825851#Translate_wiki_registration

Autonym according to Ethnologue.
2022-01-16 12:09:55 +02:00
Amir E. Aharoni
6efb39b94b Fix the Angika (anp) autonym
Downstream bug:
https://phabricator.wikimedia.org/T299201
2022-01-14 09:42:38 +02:00
Amir E. Aharoni
868370a287 Update Nheengatu (yrl) autonym
According to the discussion in translatewiki:
https://translatewiki.net/wiki/Thread:User_talk:Karapananguas%C3%BA_Kurur%C3%BA_Terememb%C3%A9/Language_name
2022-01-02 15:41:55 +02:00
Amir E. Aharoni
1f8e0556d3 Update Abkhaz autonym
Addresses downstream bug:
https://phabricator.wikimedia.org/T298309
2021-12-27 22:17:58 +02:00
Amir E. Aharoni
b1dbe23fd7 Add Aleut languages
Requested for translatewiki at:
https://translatewiki.net/wiki/Thread:Support/Adding_a_new_language

Autonym verified at
https://www.alaskanativelanguages.org/unangam-tunuu
2021-12-27 17:42:17 +02:00
Amir E. Aharoni
2ea97c8bd4 Add Logooli (rag)
Requested for translatewiki at
https://translatewiki.net/wiki/Thread:Support/Adding_a_new_language_-_Lologooli

There are several variants of the autonym online.
The images at https://lologooli.org/ show that "Lologooli"
is probably a good variant, at least for starters.
2021-11-15 17:18:45 +05:30
Amir E. Aharoni
0b44a0eee2 Add Aja (ajg)
Requested for translatewiki at
https://translatewiki.net/wiki/Thread:Support/Request_for_new_language_Aja_(ajg)

Autonym according to:
"Alphabet des Langues Nationales De la République du Bénin"
Centre National de Linguistique Appliquée
2021-11-13 21:12:40 +02:00
Amir E. Aharoni
642b0b8ae9 Add Nawdm (nmz)
Requested at
https://translatewiki.net/wiki/Thread:Support/Please_add_Nawdm_language

Autonym according to
Dictionnaire nawdm, SIL International
at https://www.webonary.org/nawdm/
2021-11-09 11:54:50 +02:00
Amir E. Aharoni
ce32d0aa2a Split Northern Thai to nod and nod-thai
Most of the activity in translatewiki, Wikidata,
and Incubator is in the Tai Tham script, so set nod
to that. But there are also people who want to use
the Thai script, so allow it, too.

This also adds support for the Tai Tham script
(ISO 15924 Lana).
2021-11-09 11:53:35 +02:00
Amir E. Aharoni
0a0d60209e Add Ghanaian Pidgin (gpe)
Requested for translatewiki:
https://translatewiki.net/wiki/Thread:Support/Please_add_the_Ghanaian_Pidgin_English
2021-11-08 22:24:24 +02:00
Amir E. Aharoni
17aa68225d Change names of Cyrillic-script languages to lowercase
They were added long ago when all the languages were
added in uppercase like English and German, but this
is not actually necessary.
2021-11-02 08:41:09 +02:00
Amir E. Aharoni
df0a48565d Add Aghem (agq) and Masana (mcn)
Requested in Wikimedia Phabricator:
* https://phabricator.wikimedia.org/T293884
* https://phabricator.wikimedia.org/T288335

Aghem autonym according to Ethnologue. I can find several
variants online, and this looks like the most reliable.

Masana autonym according to
"Dictionnaire Masa-Français, Dialectes Gumay et Ɦaara (Tchad)"
by Melis Antonino
2021-11-02 08:40:03 +02:00
Abijeet Patro
f86cab48f3 Add MLEB release notes 2021.10 (#182)
Changes from: https://github.com/wikimedia/language-data/compare/1.0.6...master
2021-10-25 15:48:39 +05:30
Abijeet
9c77925a8c Update dependencies listed in composer 2021-10-25 10:26:08 +03:00
Abijeet
ba2be5c72b Security fix: Update ansi-regex for CVE-2021-3807 2021-10-25 08:29:30 +03:00
Amir E. Aharoni
75fb11287b Change the autonym for S'gaw Karen
This was requested by the editors, and I also verified it:
this shorter name is used in the Microsoft Windows 10
language pack selector.
2021-10-13 16:51:35 +03:00
Amir E. Aharoni
ceb18ea4dd Rename gur to "farefare"
The name "gurenɛ" is used only in Ghana and refers only
to one dialect. This language is also spoken in Burkina Faso,
and the name "farefare" covers all the dialects in both
countries. The activity in this language in translatewiki.net
and in the Wikimedia Incubator is higher recently, and this
was requested by the contributors to this language.

Confirmed with the book
De  la  phonologie à l’orthographe : Le ninkãrɛ au Burkina Faso,
Idda et Urs Niggli SIL, 2007
(page 6).
2021-10-11 13:09:46 +05:30
Amir E. Aharoni
3362fd2d5c Add Nigerian Pidgin (pcm)
Requested at
https://translatewiki.net/wiki/Thread:Support/_pcm_Activate_new_language:_Nigerian_Pidgin_-_%27Naij%C3%A1%27

There's also an active Wikipedia Incubator in it.

The autonym Naijá is used in Ethnologue and also in this article:
https://ifra-nigeria.org/ongoing-research-programs/naijasyncor/naija-languej-akedemi

I also verified it with several other experienced Nigerian
Wikipedians and they confirmed it.
2021-10-11 11:20:16 +05:30
Amir E. Aharoni
2e646ff5b8 Update blk autonym
Requested at
https://translatewiki.net/wiki/Thread:User_talk:%D0%A2%D0%B5%D1%81%D1%82/Request_to_change_%E1%80%95%E1%80%A1%E1%80%AD%E1%80%AF%E1%80%9D%E1%80%BA%E1%82%8F_name
2021-09-28 21:06:39 +03:00
Amir E. Aharoni
53c02e3323 Update language adding doc
* Consistent examples.
* Instructions about installing dependencies for PHP.
2021-09-23 14:11:35 +03:00
Amir E. Aharoni
34a7c0b652 Add the Pa'O language
Requested for translatewiki at
https://translatewiki.net/wiki/Thread:Support/New_language_request_for_Pa%27O_(blk)
2021-09-23 13:54:05 +03:00
Santhosh Thottingal
3762fb7b94 Update CI and dependencies for latest node versions (#173)
* Update dependencies

* Test in latest node versions
2021-09-07 21:24:56 +05:30
Amir E. Aharoni
b23d267c26 Update package.json
Done automatically using npm audit.
2021-09-05 20:03:30 +03:00
Amir Aharoni
20d17c399e Add Pacific or America regions to rap, id, and zh
Suggested in
https://translatewiki.net/wiki/Thread:Support/New_languages

It makes sense.
2021-08-24 11:59:51 +03:00
Amir Aharoni
e9c004a6a8 Add Makhuwa (vmw)
Requested in translatewiki:
https://translatewiki.net/wiki/Thread:Support/Adding_a_new_language_-_Emakhuwa
2021-08-23 17:00:20 +05:30
Amir Aharoni
2221cda9fb Add yrl to CO and VE countries
Created automatically by running php ulsdata2json.php.
2021-08-23 16:58:53 +05:30
Abijeet Patro
c338401525 Add release notes 2021.07 (#167)
Bug: T286476
2021-07-19 20:33:31 +05:30
Abijeet Patro
ddc6ae2662 Update PHP dependencies (#168)
Lock file operations: 0 installs, 10 updates, 0 removals
  - Upgrading composer/semver (3.2.4 => 3.2.5)
  - Upgrading nikic/php-parser (v4.10.4 => v4.11.0)
  - Upgrading phar-io/version (3.0.4 => 3.1.0)
  - Upgrading phpspec/prophecy (1.12.2 => 1.13.0)
  - Upgrading phpunit/php-code-coverage (9.2.5 => 9.2.6)
  - Upgrading phpspec/prophecy (1.12.2 => 1.13.0)
  - Upgrading phpunit/php-code-coverage (9.2.5 => 9.2.6)
  - Upgrading phpunit/phpunit (9.5.1 => 9.5.6)
  - Upgrading sebastian/global-state (5.0.2 => 5.0.3)
  - Upgrading sebastian/type (2.3.1 => 2.3.4)
  - Upgrading symfony/polyfill-ctype (v1.22.0 => v1.23.0)
  - Upgrading webmozart/assert (1.9.1 => 1.10.0)
2021-07-19 20:23:29 +05:30
Amir E. Aharoni
f8bc49ac25 Add Levantive Arabic (ajp) (#166)
Requested at https://phabricator.wikimedia.org/T286290 .

Co-authored-by: Antoine Dusséaux <a455bcd9@users.noreply.github.com>
2021-07-12 15:18:07 +05:30
Abijeet
4410ba4c10 Security fix: Update glob-parent to 5.1.2 2021-07-08 09:25:10 +03:00
Amir Aharoni
d2756b2916 Add Siriono (srq) and update Cape Verdean (kea) capitalization
See downstream task:
https://phabricator.wikimedia.org/T284870

Siriono (srq) autonym verified in
Gasparini, Noé; Dicarere Mendez, Victor Hugo (2015).
Diccionario sirionó: sirionó - castellano - inglés y castellano - sirionó
2021-06-14 11:25:15 +05:30
Alexander Vorwerk
d6c276c4e3 Change lmo language name
Bug: T283423
2021-05-30 10:06:03 +03:00
Amir Aharoni
f72afc8545 Add Rohingya as a language of Bangladesh and Burma
It was added to Language-Territory information in CLDR 39,
and automatically added here by the updating script.
2021-05-28 14:21:23 +03:00
Amir Aharoni
d55c316379 Add the Paiwan language (pwn)
Requested at
https://translatewiki.net/wiki/Thread:Support/_Wp/pwn_Translation_of_MediaWiki_(most_important_messages)

Autonym verified with Paiwan dictionary by Raliegh Ferrell
( https://archive.org/details/paiwandictionary0000ferr )
and the online dictionary on the website of Taiwan's
Council of Indigenous People
( https://e-dictionary.apc.gov.tw/pwn/search.htm ).
It's also confirmed at
https://incubator.wikimedia.org/w/index.php?oldid=5144344#The_name_of_the_Paiwan_language_in_itself
2021-05-28 11:52:37 +03:00
Amir Aharoni
ccb6f6dd53 Update package-lock.json
Generated by `npm audit fix`. Resolves security issues.
2021-05-11 09:52:05 +03:00
Amir Aharoni
d56debb089 Make 'ha' the primary code for Hausa
Will hopefully address these downstream bugs:
https://phabricator.wikimedia.org/T279269
https://phabricator.wikimedia.org/T279252
2021-05-10 14:50:51 +03:00
Amir Aharoni
4e45e0cd80 Split language ciw to ciw and ojb
A translatewiki translator said that this ojb the more
appropriate code for the existing translations, so it has
to be added. The code ciw is valid, too, so it's preserved.
The name "Ojibwemowin" is more appropriate for ojb, and
ciw is now named "Anishinaabemowin".

I also confirmed this with another Ojibwe language teacher.

For more reference, see downstream task:
https://phabricator.wikimedia.org/T281053
2021-04-27 15:40:32 +03:00
Abijeet
ecaf2bac50 Update changelog for 2021.04 release
Reusing the release made on 2021.04.01 for Node.js library security
fix.
2021-04-21 16:43:46 +03:00
Amir Aharoni
06fe4cd271 Add the Dargin (Dargwa) language (dar)
Requested at
https://translatewiki.net/wiki/Thread:Support/Dargin_language

Autonym according to:
Х.ГӀ. Юсупов, «Даргала-урусла словарь», ХӀ. ЦӀадасала уличилси
Мезла, литературала ва искусствола институт, МяхIячкъала 2014
and verified with speakers.
2021-04-14 10:54:57 +03:00
Abijeet
f692c69a9f Update Node.js versions to 1.0.2 2021-04-01 11:28:45 +03:00
Abijeet
48afd1c4ac Fix y18n (required by mocha) related security warning
Fixes CVE-2020-7774

Not a major issue for us since it's only a dev dependency.
2021-04-01 11:04:08 +03:00
Amir Aharoni
2ddadd3a7f Add the Kom language (bkm)
Requested at
https://translatewiki.net/wiki/Thread:Support/Please_add_the_Kom_language

Autonym as used in the introduction to
Provisional Kom - English Lexicon by Randy Jones (2001),
and confirmed by a native speaker.
2021-03-31 17:34:57 +05:30
Amir Aharoni
8cb7a35b3a Add the Basaa language (bas)
Requested at
https://translatewiki.net/wiki/Thread:Talk:Support/Ajouter_la_langue_bassa%27a

Autonym according to
Hyman, Larry M. (2003). "Basaá (A.43)".
In Nurse, Derek; Philippson, Gérard (eds.).
The Bantu Languages. Routledge. pp. 257–282.
2021-03-31 17:23:47 +05:30
Amir E. Aharoni
bd6c26cdf2 Add Belizean Creole (bzj) (#150)
Requested at
https://translatewiki.net/wiki/Thread:Template_talk:Disabled_language/Enabling_Belizean_Creole
2021-03-30 16:14:41 +05:30
Amir Aharoni
29025c63f2 Add nan-hani
Requested downstream:
https://phabricator.wikimedia.org/T180771
2021-03-08 18:05:53 +05:30
Amir E. Aharoni
349589fc1f Consistently use parentheses in Chinese-script autonyms (#148)
Addresses #141.

Co-authored-by: Kartik Mistry <kartikm@users.noreply.github.com>
2021-03-08 17:55:27 +05:30
Amir Aharoni
a73375d0df Add a newline to the end of language-data.json
This helps Git and Vim be less confused about diffs.
It somehow sometimes happens that a newline is added to
the end of language-data.json, but sometimes it is not added,
and then Git diff shows it as removed or added. This change
ensures that it's always added.
2021-03-08 17:30:07 +05:30
Amir Aharoni
06865e7f19 Update the autonym for guc
The name "Wayúu" appeared a long time ago in translatewiki,
and it's unclear what is its source. All the sources that I can
find say that autonym is "wayuunaiki", for example Ethnologue and
Diccionario básico ilustrado wayuunaiki-español español-wayuunaiki
(Editorial Fundación para el Desarrollo de los Pueblos Marginados, Bogotá, D.C., 2005)
2021-03-08 16:54:39 +05:30