This contains all scripts and information for the 'Verified Page History' implementation. This is a code extension for MediaWiki.
The Examples extension is a collection of small example features that implement common extension interfaces in MediaWiki.
The basic structure of this repository is based on the BoilerPlate extension.
This repository is for reading, and contains verbose guidances and comments along the way. You can freely copy snippets from here. To start your own extension, it is recommended to copy the BoilerPlate extension instead.
This extension implements the recommended entry points of Wikimedia CI for PHP and Front-end projects.
Before you can test and build code locally, you need:
To run the PHP code checks and unit tests:
- Run
composer update
This will install testing software to vendor/
in the current directory.
Now, run compose test
whenever you want to run the automated checks and tests.
To run the checks for JavaScript, JSON, and CSS:
- Run
npm install
This will intall testing software to node_modules/
in the current directory/
Now, run npm test
to run the automated front-end code checks..
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/examples.git