This extension is a grab-bag for miscellaneous configuration and customizations that are specific to wikidata.org.
This includes the following things:
Issues and tasks are tracked on Phabricator!
After cloning this extension into the extensions directory, add the following line to your LocalSettings.php:
wfLoadExtension( 'Wikidata.org' );
This extension follows a layout that is very similar to many other extensions.
Its PHPUnit tests are run as any other extension's PHPUnit tests (which is specific to your particular setup).
You can run PHP code style checks with
composer run test
and fix fixable violations with
composer run fix
Similarly, you can lint the JavaScript code with
npm test