MediaWiki-Docker/Extension/Examples

From mediawiki.org
Jump to navigation Jump to search

Follow Quickstart instructions at MediaWiki-Docker page. Once MediaWiki is running and available at http://localhost:8080, then run the following in the directory where you installed MediaWiki:

git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/examples" extensions/examples
echo "wfLoadExtension( 'examples' );" >> LocalSettings.php

docker-compose exec mediawiki php maintenance/update.php