Commit Graph
18 Commits
Author SHA1 Message Date
Abijeet PatroandGitHub 6358181403 Fix link in README to PHP API documentation (#112) 2020-07-23 13:37:57 +02:00
Abijeet PatroandNiklas Laxström 0cb3a0f06d Update release date and language changes 2020-05-26 11:05:07 +03:00
Abijeet PatroandGitHub 62f05a46f2 Remove indications / comments that we use CLDR data only (#103) 2020-05-26 10:49:56 +03:00
Abijeet PatroandGitHub 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
AbijeetandNiklas Laxström a19900efef Unify package.json and composer.json, update version before release 2020-05-20 16:54:32 +03:00
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
AbijeetandAmir E. Aharoni 936c0e8ee2 Add Abijeet as a contributor in package.json and composer.json 2020-05-19 11:08:50 +03:00
Abijeet PatroandNiklas Laxström 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
AbijeetandNiklas Laxström f216187aba Rename class from LanguageData to LanguageUtil to have better namespacing
Update the documentation also
2020-05-18 15:45:15 +03:00
AbijeetandNiklas Laxström badc475816 Change the build URLs to point to the Wikimedia repository 2020-05-18 12:54:59 +03:00
AbijeetandNiklas Laxström f342099b3c Rename class from LanguageData to LanguageUtil to have better namespacing
Update the documentation also
2020-05-15 10:26:11 +03:00
AbijeetandNiklas Laxström e9a6c467f3 Move spyc to composer.json 2020-05-12 16:03:31 +03:00
AbijeetandNiklas Laxström 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
Abijeet PatroandGitHub 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
AbijeetandNiklas Laxström 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 PatroandGitHub 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
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