Extension:GenerateMochaConfig

MediaWiki extensions manual
GenerateMochaConfig
Release status: unmaintained
Author(s) Clara Andrew-Wani
Latest version 1.0
MediaWiki >= 1.31.0
License GNU General Public License 2.0 or later
Download
Quarterly downloads 1 (Ranked 138th)
Translate the GenerateMochaConfig extension if it is available at translatewiki.net

The GenerateMochaConfig extension provides a maintenance script to generate JSON for Mocha tests of other MediaWiki extensions.

Installation

edit
  • Download and move the extracted GenerateMochaConfig folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GenerateMochaConfig
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'GenerateMochaConfig' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.