Commit Graph

262 Commits

Author SHA1 Message Date
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
Amir Aharoni 7181b2ecb7 Add Nuer language (nus)
Requested at https://translatewiki.net/wiki/Support ,
but I cannot link to the request as it had to be
deleted because of a LiquidThreads bug.
2021-02-25 17:14:29 +05:30
Amir Aharoni e60f8f5c9b Add Aruba Papiamento
Requested at
https://translatewiki.net/wiki/Support#Activate_new_language-code:_Papiamento_(pap-aw)_58665

The name "Papiamento" (with -o) is used in the standard Aruba
spelling, and the -o in the end in enough for speakers to recognize
as the Aruban variant.
2021-02-25 17:12:46 +05:30
Amir Aharoni c8f3512df5 Cleanup the data for the Talysh language
In the years that have passed since I wrote a comment saying
that this language is "complicated", I found sources that clearly
show that the primary alphabet for this language now is Latin.
See https://en.wikipedia.org/wiki/Talysh_language#Scripts

MediaWiki's Names.php was updated, too.
2021-02-25 17:11:31 +05:30
Amir Aharoni 56c2163547 Add Rohg to rtlscripts
This is added automatically by `php ulsdata2json.php`.
It should have been added in #137, but for some reason wasn't.
2021-02-25 10:59:45 +02:00
Amir Aharoni d2c3ea7e21 Add Carpathian Romani
Requested for translatewiki at
https://translatewiki.net/wiki/Thread:Support/Activate_new_language:_rmc_carpathian_romani-roma%C5%88i_%C4%8Dhib
2021-02-23 20:22:28 +02:00
Niklas Laxström 07efae50c5 Update PHP development dependencies (#139) 2021-01-28 14:35:10 +05:30
Abijeet 3a0ca41914 Update node package.json version 2021-01-28 10:40:22 +02:00
Abijeet Patro 52038262e7 Add MLEB notes 2021.01 2021-01-28 10:40:22 +02:00
Amir E. Aharoni f8bc4b8cd4 Add Rohingya language (rhg) (#137)
There's a Wikimedia Incubator in it, so it may become useful.
2021-01-25 11:24:36 +05:30
Amir Aharoni c0f628fb15 Add Nanai and Gungbe languages
Requested at translatewiki:
https://translatewiki.net/wiki/Thread:Support/please_add_Nanai_language
https://translatewiki.net/wiki/Thread:Support/_guw_Activate_new_language:_Gun_-_%27Gun

Nanai autonym according to Chemyshev and Onenko dictionary, as well as xisango.ru.

Gun autonym according to Ethnologue.
2021-01-15 16:01:17 +02:00
Amir Aharoni 4b7cee6c3d Update the autonym of language shi
This language is known in English as Shilha, Tashelhit,
Tachelhit, and also by some other names.

The most authoritative modern name in the language itself
is Taclḥit, with the letter c. It appears in the textbook
"Méthode de tachelhit, langue amazighe (berbère) du sud du Maroc"
by Abdallah El Mountassir and also in the online
"Dictionnaire Général de la Langue Amazighe Informatisé"
( https://tal.ircam.ma/dglai/lexieam.php ). It also directly
corresponds to the spelling in the Tifinagh script.

This change was requested by the localizers in translatewiki
and authors in the Wikipedia Incubator in this language.
2020-12-31 14:32:52 +02:00
Amir Aharoni 4a61360950 Return an empty array if there are no languages in territory
Only JavaScript is modified here. The corresponding PHP function
is unchanged to preserve consistency with other PHP functions.

Corresponding pull request in jquery.uls:
https://github.com/wikimedia/jquery.uls/pull/370

Downstream bug:
https://phabricator.wikimedia.org/T265158
2020-12-23 15:01:28 +02:00
Amir E. Aharoni 7093fe88cf Add languages elm, izh, nog (#131)
They appear in translatewiki's local configuration,
but not here in language-data. The data about all of these
is stable enough to be here.

Co-authored-by: Niklas Laxström <niklas.laxstrom@gmail.com>
2020-12-23 11:56:46 +05:30
Amir Aharoni 762b7c5e0c Add the Nias (nia) language 2020-12-22 20:16:51 +02:00
Amir E. Aharoni 4901f51ee5 Add a simple test for validity of language codes (#132)
The reason I'm adding it is that recently I almost submitted
a patch in which I wrote a language code with the Cyrillic letter о
instead of the corresponding Latin letter. It's not a perfect test,
but it's good enough for a basic check.
2020-12-22 16:17:19 +02:00
Niklas Laxström 3d3f06592b Fix PHP builds (#134)
Pin image to specific version so that we don't get surprise failures
down the line.

Use common action to configure the default PHP version (the matrix
versions only affect test running).

Update PHP versions to supported versions in this image.
2020-12-21 20:28:18 +05:30
Amir Aharoni 17280471cc Change capitalization for koi, olo, and vro
Corresponds to MediaWiki change:
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/648536
2020-12-14 12:19:43 +05:30
Amir Aharoni 69074e2475 Add the Tyap language (kcg)
Requested at
https://translatewiki.net/wiki/Thread:Category_talk:User_languages/New_Language_Addition

Autonym spelling according to
https://www.sil.org/resources/archives/53626
2020-12-09 12:38:39 +05:30
Amir E. Aharoni 190423dd29 Update Min Dong Chinese languages (#127)
Originally written by yjfvictor at
https://github.com/wikimedia/language-data/pull/58

Updated more conservatively by Amir E. Aharoni.
This is probably a transition to allow the splitting
to two variants. "cdo" will be reconfigured later
once the transition in other MediaWiki-related
properties will be over.

Co-authored-by: yjfvictor <yjf_victor@hotmail.com>
2020-12-01 20:48:15 +05:30
Abijeet a9e9bd5640 Fix review comments 2020-10-27 15:17:12 +02:00
Abijeet da6be2240d Update Changelog for 2020.10 release
Bug: T266462
2020-10-27 15:17:12 +02:00