MediaWiki-Docker/Extension/GrowthExperiments
First have a quick read of MediaWiki-Docker and install the prerequisites.
Then clone MediaWiki: git clone https://gerrit.wikimedia.org/r/mediawiki/core.git mediawiki
and go into that directory: cd mediawiki
Follow the instructions from DEVELOPERS.md to install MediaWiki.
Once MediaWiki is running and available at http://localhost:8080
, then:
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/GrowthExperiments" extensions/GrowthExperiments
git clone "https://gerrit.wikimedia.org/r/mediawiki/skins/Vector" skins/Vector
git clone "https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue" skins/MinervaNeue
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/PageViewInfo" extensions/PageViewInfo
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend" extensions/MobileFrontend
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/Elastica" extensions/Elastica
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/CirrusSearch" extensions/CirrusSearch
You should have a file called LocalSettings.php
in the root of the mediawiki
directory; edit the file and add these lines at the bottom:
wfLoadSkin( 'MinervaNeue' );
wfLoadSkin( 'Vector' );
wfLoadExtension( 'MobileFrontend' );
wfLoadExtension( 'GrowthExperiments' );
wfLoadExtension( 'PageViewInfo' );
To set up the suggested edits featureEdit
- Follow the ElasticSearch instructions from MediaWiki-Docker/Configuration_recipes/ElasticSearch.
- Copy the contents of MediaWiki:NewcomerTopicsOres.json to http://localhost:8080/index.php?title=MediaWiki:NewcomerTopicsOres.json&action=edit.
- Copy the contents of MediaWiki:NewcomerTasks.json to http://localhost:8080/index.php?title=MediaWiki:NewcomerTasks.json&action=edit
- Add
$wgGENewcomerTasksTopicType = 'ores'
toLocalSettings.php
. - Add
$wgGERestbaseUrl = 'https://cs.wikipedia.org/api/rest_v1';
toLocalSettings.php
. - Add
$wgGENewcomerTasksGuidanceEnabled = true;
toLocalSettings.php
.