MediaWiki-Docker/Extension/Examples
This page instructs you to install Extension:Examples inside MediaWiki-Docker.
All commands should be run in the directory where you installed MediaWiki. All mentioned files are also located there.
Install MediaWiki-Docker
editFollow the Quickstart instructions at MediaWiki-Docker page. Once MediaWiki is running and available at http://localhost:8080
, then continue with instructions on this page.
Clone the repository and its dependencies
editRun the following command in the directory where you installed MediaWiki:
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/examples" extensions/examples
Install Composer dependencies
editThere are no Composer dependencies.
Modify LocalSettings.php
editIf not already there, add this to the end of LocalSettings.php
.
wfLoadExtension( 'examples' );
Run maintenance scripts
editdocker compose exec mediawiki php maintenance/run.php update.php