MediaWiki-Docker/Extension/Wikistories

This page instructs you to install Extension:Wikistories 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.

All commands should be run in the directory where you installed MediaWiki. All mentioned files are also located there.

Clone the repository and its dependencies edit

git clone "https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue" skins/MinervaNeue
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/EventLogging" extensions/EventLogging
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend" extensions/MobileFrontend
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/Wikistories" extensions/Wikistories

Modify LocalSettings.php edit

If not already there, add this to the end of LocalSettings.php.

wfLoadSkin( 'MinervaNeue' );
wfLoadExtension( 'EventLogging' );
wfLoadExtension( 'MobileFrontend' );
wfLoadExtension( 'Wikistories' );
$wgWikistoriesDiscoveryMode = 'public';
$wgWikistoriesRestDomain = 'wikipedia.org';
$wgUseInstantCommons = true;

Optional: running as a Beta Feature and other configuration edit

To run as a Beta Feature and learn about other optional configuration, please read Extension:Wikistories#Configuration options