Skip to content

Testing out different approaches to front-end build tools in MediaWiki

License

Notifications You must be signed in to change notification settings

egardner/mediawiki-extensions-BuildSandbox

Repository files navigation

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/BuildSandbox.git
cp -r BuildSandbox ./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.

About

Testing out different approaches to front-end build tools in MediaWiki

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published