MediaWiki-Docker/Extension/GrowthExperiments

This page instructs you to install Extension:GrowthExperiments inside MediaWiki-Docker.

Follow the Quickstart instructions at MediaWiki-Docker page. Once MediaWiki is running and available at http://localhost:8080, then continue with instructions on this page.

Install GrowthExperiments

edit

Please refer to Extension:GrowthExperiments/developer setup#Installation.

Developer setup

edit

Please refer to Extension:GrowthExperiments/developer setup for detailed instructions on various configuration options.

Front-end development or Selenium testing quickstart

edit

Modify LocalSettings.php to include this line:

require "$IP/extensions/GrowthExperiments/cypress/support/setupFixtures/GrowthExperiments.LocalSettings.php";

Run the GrowthExperiments:PrepareBrowserTests maintenance script to set all the test-articles up and import the link-recommendations and such.

Run npm run cy:open to open up Cypress. The rest should be standard Cypress end-to-end testing.