Extension:MWUnit/Download and installation

From mediawiki.org
Jump to navigation Jump to search

This page details the steps to install MWUnit on your wiki. MWUnit can be installed like any other extension.

Prerequisites[edit]

To be able to install MWUnit, you must be running at least PHP 7.0.0 and MediaWiki 1.31.0 (older versions may work, but are not supported or tested).

Installation[edit]

  • Download and place the file(s) in a directory called MWUnit in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'MWUnit' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.