Extension:GenerateMochaConfig

Category:Pages to be expanded#GenerateMochaConfig Category:Unmaintained extensions#GenerateMochaConfig Category:Extensions without an imageCategory:Extensions with invalid or missing typeCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
GenerateMochaConfig
Release status: unmaintainedCategory:Unmaintained extensions
Author(s) Clara Andrew-Wani
Latest version 1.0
MediaWiki >= 1.31.0
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
Quarterly downloads 1 (Ranked 100th)
Translate the GenerateMochaConfig extension if it is available at translatewiki.net
Category:All extensions

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

Installation

  • 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' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Category:All extensions Category:Extensions in Wikimedia version control Category:Extensions with invalid or missing type Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:Pages to be expanded Category:Unmaintained extensions