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-DockerEdit
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.
Clone the repository and its dependenciesEdit
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/examples" extensions/examples
Install Composer dependenciesEdit
There are no Composer dependencies.
Modify LocalSettings.phpEdit
If not already there, add this to the end of LocalSettings.php
.
wfLoadExtension( 'examples' );
Run maintenance scriptsEdit
docker compose exec mediawiki php maintenance/update.php