mediawiki-extensions-BoilerPlate

Github mirror of MediaWiki extension BoilerPlate - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

GPL-2.0 License

Stars
5

This is a blank extension template. It doesn't really do anything on its own. It is intended to provide a boiler template for an actual MediaWiki extension.

If you are checking this out from Git and intend to use it, you may use the following commands to make a clean directory of just this template without the Git meta-data and other examples.

cd extensions
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/BoilerPlate.git
cp -r BoilerPlate ./MyExtension
rm -rf ./MyExtension/.git

This automates the recommended code checkers for PHP and JavaScript code in Wikimedia projects (see https://www.mediawiki.org/wiki/Continuous_integration/Entry_points). To take advantage of this automation.

  1. install nodejs, npm, and PHP composer
  2. change to the extension's directory
  3. npm install
  4. composer install

Once set up, running npm test and composer test will run automated code checks.

Related Projects