Jump to content

Extension:TestKitchen

From mediawiki.org
MediaWiki extensions manual
Test Kitchen
Release status: stable
Description Provides the PHP and JS Test Kitchen SDKs, which developers use to implement experiments
Author(s) The Experiment Platform team
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.43+
Licence GNU General Public License 2.0 or later
Download
Help Help:Extension:TestKitchen
Translate the TestKitchen extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The TestKitchen extension is maintained by the Experiment Platform team at the Wikimedia Foundation. Read more about the Test Kitchen project.

This page will be updated as usage and local setup steps are defined.

Installation

[edit]
  • Download and move the extracted TestKitchen 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/TestKitchen
    
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'TestKitchen' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

[edit]
$wgTestKitchenInstrumentConfiguratorBaseUrl = 'https://test-kitchen.wikimedia.org';
  • Enable experimentation capabilities:
$wgTestKitchenEnableExperiments = true;