Commit Graph

123 Commits

Author SHA1 Message Date
Amir Aharoni
cbeb0b7150 Set latest and specific versions of devDependencies
This fixes all npm audit warnings.
2020-04-01 09:03:21 +03:00
Amir Aharoni
a8da492367 Update acorn version in package-lock.json
Done automatically by npm audit fix
2020-03-31 23:19:49 +03:00
Abijeet
a182ddb215 Add users with more than 5 commits to credits / authors
Also update authors to be alphabetically ordered.
2020-02-24 16:35:43 +02:00
Abijeet Patro
c57a3a28ad Update minimum supported node.js version to 8.x (#83)
Fixes failing test case on node.js version 6
2020-02-03 14:23:37 -08:00
James Forrester
6ca9f5288b Merge pull request #80 from Abijeet/feature/T218639-2
Replace Travis with Github actions
2020-01-31 16:05:58 -08:00
Abijeet
7c970cb247 Replace Travis with Github actions
Two workflows have been added,

  * PHP build - Runs tests on version 7.2, 7.3, also runs phpcs
  * Node.js build - Runs tests on version 8.x, 10.x, 12.x, also
    runs ESLint

Bug: T218639
2020-01-31 23:06:26 +05:30
Abijeet
09ab6024fe Add a PHP interface to work with the language data
Additional changes in this PR include,

  * Added composer.json
  * Refactored the folder structure.
  * Added editorconfig.
  * Added PHPCS and formatted existing code.
  * Changes to use a single license - GPL-2.0-or-later
  * ESLint related fixes

Bug: T218639
2020-01-31 23:00:46 +05:30
Amir Aharoni
6ca93c0966 Add Chukchi (ckt)
There is a Wikipedia Incubator in it and it needed for
Wikidata labels.
2019-12-09 16:16:22 +02:00
Amir Aharoni
68cbda463e Run ulsdata2json.php
This removes szy and shy from language-data.json,
which are not standard in CLDR for the territories.
They should be added differently.
2019-12-09 16:16:01 +02:00
Jon Harald Søby
ecb14194d9 Add shy-latn and szy
Shawiya/Tacawit and Sakizaya. Both have wikiprojects that are live, and their
omission from language-data makes it impossible to find them with the ULS.
2019-11-26 11:43:21 +01:00
Jon Harald Søby
2466fe4f6e Add shy-latn and szy
Shawiya/Tacawit and Sakizaya. Both have wikiprojects that are live, and their
omission from language-data makes it impossible to find them with the ULS.
2019-11-26 11:43:21 +01:00
Santhosh Thottingal
59c70bd917 Minor version update 2019-11-08 16:51:55 +05:30
Santhosh Thottingal
ea46c2cd7e Update README.md
1. Add npm badge
2.  fix lint errors
2019-11-08 16:51:33 +05:30
Amir Aharoni
d7a5e8db99 Add Jeju (jje)
There is an active Wikipedia Incubator in it.
2019-11-07 15:23:22 +02:00
James Forrester
cf8a2024d4 Merge pull request #72 from amire80/README-examples
Add more file format information to the README
2019-10-28 14:40:30 +00:00
Amir Aharoni
18d7df09c4 Add more file format information to the README 2019-10-28 14:33:41 +02:00
Santhosh Thottingal
099909a0a5 Merge pull request #71 from amire80/README
Update README
2019-10-28 17:43:54 +05:30
Amir Aharoni
0a0856ef9c Update README 2019-10-28 14:11:41 +02:00
Amir Aharoni
7e1a512cd1 Add Bajau Sama language (bdr)
Requested at
https://www.wikidata.org/wiki/Wikidata_talk:Lexicographical_data#Spelling_variant_of_the_Lemma_option
2019-09-26 17:47:27 +03:00
Amir Aharoni
b914ddebd6 Add Aragonese (an) to Spain
This is only a run of ulsdata2json.php.
2019-09-25 16:56:59 +03:00
Amir Aharoni
28ff199f19 Add Chakma (ccp) and the Chakma script (Cakm) 2019-09-05 16:26:17 +03:00
Santhosh Thottingal
c77e901498 Merge pull request #65 from amire80/U
Change autonym "using" to "Using"
2019-09-03 17:23:31 +05:30
Amir Aharoni
7e9652d22c Change autonym "using" to "Using"
Requested by the users.
2019-09-02 16:00:59 +03:00
Amir Aharoni
58062a321d Add Osing (osi)
There's a Wikipedia Incubator in this language.
2019-09-02 11:59:15 +03:00
Amir Aharoni
15533793c9 Update autonyms for Sunda and Banjar
Corresponding patches in MediaWiki core:
https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/532864/
https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/532859/
2019-09-02 11:58:29 +03:00
Santhosh Thottingal
124e8f7ed0 Update .gitignore 2019-08-29 17:05:05 +05:30
Santhosh Thottingal
e53d7d1250 Move to @wikimedia, version update, dependecy updates 2019-08-29 16:58:54 +05:30
Amir Aharoni
ac6fc6786e Add Mangareva
The autonym is not misspelled: There's no n in it.
2019-08-28 22:03:44 +03:00
Niklas Laxström
7c72201f9a Update autonym for sju
Per https://phabricator.wikimedia.org/T226701#5371251
2019-08-25 22:08:02 +03:00
Amir Aharoni
e0200032c4 Add Awadhi (awa)
It is already in MediaWiki, but for some reason it
was never added to ULS.
2019-08-11 14:25:41 +03:00
Santhosh Thottingal
ceec188319 Merge pull request #57 from amire80/mtei
Change the autonym of Manipuri to Meetei script
2019-08-06 16:07:56 +05:30
Santhosh Thottingal
c8ce997308 Merge pull request #56 from amire80/min
Rename "Baso Minangkabau" to "Minangkabau"
2019-08-06 15:59:23 +05:30
Amir Aharoni
10da718530 Change the autonym of Manipuri to Meetei script
This also adds the support for the Meetei Mayek script
(ISO 15924: Mtei) to langdb.

Meetei Mayek script is the one used in schools in Manipur
(see the Wikipedia article [[Meitei script]] for references).
It is also the script that is used for all the translations
in translatewiki [1] and for all the test articles
in the Wikimedia Incubator.[2]

The Bengali script version is preserved with a tag,
because the Bengali script may be used as well.

[1] https://translatewiki.net/w/i.php?title=Special:Translate&filter=translated&group=mediawiki&language=mni&action=translate
[2] https://incubator.wikimedia.org/wiki/Special:PrefixIndex/wp/mni
2019-08-02 15:42:49 +03:00
Amir Aharoni
a2c16ad08f Rename "Baso Minangkabau" to "Minangkabau"
Addresses downstream issue
https://phabricator.wikimedia.org/T224806

This was already changed in MediaWiki core.
2019-07-08 14:32:46 +03:00
Pl217
6313c6a9f8 Merge pull request #55 from amire80/simple-english
Redirect simple to en-simple
2019-05-21 11:55:02 +02:00
Amir Aharoni
9f369eb0b8 Redirect simple to en-simple
Addresses downstream bug
https://phabricator.wikimedia.org/T210840
2019-05-21 12:43:49 +03:00
Amir Aharoni
3da09f240f Revert "Add proper BCP 47 names for various languages"
This reverts commit 03205a8955.

Unfortunately, this introduces a lot of changes that may break
other features.

I generalaly support this change, but this needs a more thorough
testing plan. Until this happens, other features and big fixes
shouldn't be blocked.
2019-05-21 11:52:10 +03:00
Amir Aharoni
708a6fa29c Update the URL for CLDR data in ulsdata2json.php 2019-05-17 18:21:46 +03:00
Amir Aharoni
425670dfa5 Add the Guinea Bissau Creole language
Requested at
https://phabricator.wikimedia.org/T223485
2019-05-17 18:07:08 +03:00
Lucas Werkmeister
ec4dbb889e Update native language name of Skolt Sami
Part of downstream bug https://phabricator.wikimedia.org/T223544.
2019-05-17 17:23:53 +03:00
Amir Aharoni
1d19f6ff75 Add Rejang
Requested at
https://translatewiki.net/wiki/Thread:User_talk:Amire80/Please_Activate_Rejang_Language_Localisation
2019-05-13 16:41:04 +03:00
Amir Aharoni
7af3648828 Update Balinese to use two scripts
Balinese was using the Balinese script here. Actual modern usage
is mostly in the Latin script, and so it is in translatewiki and
in the Incubator. The Balinese script is only used in particular
situations and quotations.

The Balinese script version is added as a separate entry, similarly
to Javanese, the real-life usage of which is similar.

This was requested by the Balinese translatewiki and Incubator editors.
2019-04-25 16:58:54 +05:30
Kartik Mistry
5c48d70c9a Merge pull request #46 from amire80/jv
Change the autonym of Javanese from "Basa Jawa" to "Jawa"
2019-04-25 16:57:53 +05:30
Kartik Mistry
20d4f88955 Merge pull request #45 from amire80/vai
Add Vai
2019-04-23 17:35:19 +05:30
Amir Aharoni
0fa70d9bee Change the autonym of Javanese from "Basa Jawa" to "Jawa"
The word "Basa" simply means "language" and it is unnecessary.

This was requested at the Javanese Wikipedia village pump:
https://jv.wikipedia.org/w/index.php?title=Wikipedia:Warung_Kopi&oldid=1478057#Jawa_utawa_Basa_Jawa
2019-04-23 10:24:43 +03:00
Amir Aharoni
dc8fa97759 Add Vai
There is a Wikimedia Incubator for this language,
so it needs to be present.
2019-04-23 10:22:57 +03:00
Kartik Mistry
b8cd01b04f Merge pull request #43 from amire80/update-upstream
Update from upstream
2019-04-23 12:49:32 +05:30
Kartik Mistry
e5c9d5caf0 Merge pull request #44 from amire80/npm-audit
Update package.json to fix npm audit recommendations
2019-04-23 12:48:21 +05:30
Amir Aharoni
d7b731df5c Update package.json to fix npm audit recommendations
* Update version of eslint from 2.9.0 to 5.16.0.
* Update version of mocha from 2.5.3 to 6.1.4.
2019-04-20 14:20:14 +03:00
Amir Aharoni
8d93c136cc Update from upstream
No local changes. Only running the update script to update CLDR data.
2019-04-20 14:03:57 +03:00