Extension:MWUnit/Maintenance scripts

Maintenance scripts are used to perform various administrative tasks on a wiki. These scripts are deployed in the  directory of the MWUnit extension.

The following maintenance scripts are available:

This maintenance script is the command-line test runner for MWUnit.

This maintenance script rebuilds the index of tests. It does this by running through all the pages in the  namespace, and letting the MediaWiki parser call the functions that re-save each test in the database. This effectively rebuilds the index of tests.

This script is quite resource heavy and should only be run when you notice tests are missing or are not run properly.