Commit Graph

156 Commits

Author SHA1 Message Date
Santhosh Thottingal
e7be264b43 Version update: 0.2.2 (#117) 2020-07-28 10:55:19 +05:30
Abijeet Patro
6e978475da Add entrypoint in package.json
Fixes: #115
2020-07-28 10:08:08 +05:30
Amir Aharoni
0796ffdb04 Update autonyms for Altai languages
Requested by the speakers. "alt" is the main literary language,
so it's called just "Altai", and the word "language" is necessary,
similarly to how it's done in the related Sakha and Tuvan languages.
2020-07-24 20:39:25 +03:00
Abijeet
762dd9c5f0 Add Changelog for 2020-07 release
Also update npm package version to 0.2.1

Few tweaks to the CHANGELOG introduction section
2020-07-23 17:40:55 +03:00
Abijeet Patro
da729f4635 Update lodash to 4.17.19 (#111)
See: https://github.com/advisories/GHSA-p6mc-m468-83gw

Co-authored-by: James D. Forrester <jforrester@wikimedia.org>
2020-07-23 13:39:32 +02:00
Abijeet Patro
6358181403 Fix link in README to PHP API documentation (#112) 2020-07-23 13:37:57 +02:00
Amir Aharoni
224f37347a Add Baoule (bci) 2020-07-22 19:38:53 +03:00
Amir Aharoni
b5bc1371f4 Add Obolo (ann) and Mara (mrh)
Requested at:
* https://translatewiki.net/wiki/Thread:Support/Obolo_language_localizations
* https://translatewiki.net/wiki/Thread:Support/Request_for_a_new_language.
  (The full stop is a part of the URL.)
2020-07-01 14:05:32 +05:30
Amir Aharoni
49884742e0 Add Altay languages
Used in the Wikimedia Incubator and in translatewiki.
2020-06-22 17:00:16 +05:30
Amir Aharoni
4b99afb807 Add Nuxalk language
Requested at
https://lists.wikimedia.org/pipermail/wikipedia-l/2020-June/031951.html
2020-06-22 16:57:57 +05:30
Amir Aharoni
d99a1a8177 Change Madurese autonym to capital
According to "Pedoman Umum Ejaan Bahasa Madura yang Disempurnakan" (2008, page 8),
names of languages are supposed to be written with capital letters.

Online book:
http://repositori.kemdikbud.go.id/1761/1/Ejaan%20Bahasa%20Madura%20Yang%20Disempurnakan%20%282008%29.pdf
2020-05-28 15:40:44 +03:00
Abijeet Patro
0cb3a0f06d Update release date and language changes 2020-05-26 11:05:07 +03:00
Amir E. Aharoni
d60d8bd629 Add Madurese (mad) (#104)
This is needed for better support of the Wikipedia Incubator
( https://incubator.wikimedia.org/wiki/Wp/mad )
and translatewiki.

Autonym spelling according to this dictionary:
Adrian Pawitra, "Kamus lengkap bahasa madura—indonesia"
(The title is in Indonesian and hence spelled differently.)
2020-05-26 13:21:43 +05:30
Abijeet Patro
62f05a46f2 Remove indications / comments that we use CLDR data only (#103) 2020-05-26 10:49:56 +03:00
Abijeet Patro
0fd46fb9a0 Add .gitattributes file (#101)
As recommended here: https://www.mediawiki.org/wiki/Manual:Developing_libraries#Packagist_guidelines
2020-05-25 09:25:51 +03:00
Abijeet
a19900efef Unify package.json and composer.json, update version before release 2020-05-20 16:54:32 +03:00
Abijeet Patro
7ab5e81cbd Add changelog and release schedule (#99)
Divide the changelog into - Language updates, PHP and Node.js section

PHP and Node.js changelog will list library related changes and will
reuse Language updates section.

Bug: T218639
Co-authored-by: Niklas Laxström <niklas.laxstrom@gmail.com>
2020-05-19 13:13:01 +03:00
Abijeet
936c0e8ee2 Add Abijeet as a contributor in package.json and composer.json 2020-05-19 11:08:50 +03:00
Abijeet Patro
6348e1589b Add phpunit configuration file
Use the configuration file to pass the location of the tests and
autoload class files.

Pass -sp to phpcs command
2020-05-18 15:45:15 +03:00
Abijeet
f216187aba Rename class from LanguageData to LanguageUtil to have better namespacing
Update the documentation also
2020-05-18 15:45:15 +03:00
Abijeet
badc475816 Change the build URLs to point to the Wikimedia repository 2020-05-18 12:54:59 +03:00
Abijeet
f342099b3c Rename class from LanguageData to LanguageUtil to have better namespacing
Update the documentation also
2020-05-15 10:26:11 +03:00
Amir Aharoni
b4336ead52 Add Mongolian in vertical script
There is a Wikipedia Incubator in it, and it was
requested at
https://translatewiki.net/wiki/Thread:Support/Please_support_%22Traditional_Mongolian_Script%22
2020-05-12 16:34:31 +03:00
Abijeet
e9a6c467f3 Move spyc to composer.json 2020-05-12 16:03:31 +03:00
Abijeet
8b0ca32167 Move documentation to Read the Docs
Read the docs is used to host the documentation.
https://language-data.readthedocs.io/en/latest/

The following documentation has been moved,

* Introduction
* Using the PHP / Node.js libraries
* Adding new languages
* PHP API documentation

Updated the README.md to point to the new documentation.

Doxygen is used to pull out the PHPDoc comments into XML.
This is parsed via doxyphp2sphinx into Sphinx which is
then used by Read the docs to generate the documentation.

Read the docs has been configured to update the code documentation
under the docs/api folder automatically whenever a commit is made
so no manual work is needed.

Bug: T218639
2020-05-12 16:00:25 +03:00
Amir Aharoni
f0a1d0a1f7 Add AM as a region for Venetian
Requested at
https://meta.wikimedia.org/wiki/General_requests#information_vec_v%C3%A8netian_lenguage
2020-05-05 16:05:27 +03:00
Amir Aharoni
4a6e18a137 Split ary to ary-latn and ary-arab
The Arabic script is more common for publishing in this language,
but the Latin script is used occasionally, too.
The autonym ed-dārija was requested by the editors of
the incubator Wikipedia in this language, and I confirmed
that it's good with an external expert.

This addresses #74.

This is similar to #75 by SADIQUI.
2020-04-28 16:02:05 +05:30
Amir Aharoni
302e1e2762 Add both Middle East and Africa to relevant Arabic varieties 2020-04-28 16:02:05 +05:30
Amir Aharoni
bf75b65451 Add Sylheti 2020-04-27 11:28:59 +03:00
Amir Aharoni
0c41498448 Change spelling of Innu-aimun autonym
No need for a capital letter there.
2020-04-27 11:22:26 +03:00
Amir Aharoni
b485f5a134 Auto-update language-data.json
Created automatically by running ulsdata2json.php
2020-04-07 13:51:09 +03:00
Amir Aharoni
7aa485adb6 Fix autonym for Kildin Sami (sjd)
Capital letter is not required.
I confirmed this with a Sami expert.
2020-04-06 12:44:26 +03:00
Abijeet Patro
1849fa134f Fix incorrect data directory usage in ulsdata2json.php (#89)
This was happening because the location of the data directory has
been updated, but this script - `ulsdata2json.php` was not properly
updated.

Bug: T249210
Fixes: #88
2020-04-03 15:06:17 +05:30
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