MediaWiki-Docker/Extension/TemplateWizard

From mediawiki.org

This page instructs you to install Extension:TemplateWizard 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/Vector" skins/Vector
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData" extensions/TemplateData
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateWizard" extensions/TemplateWizard
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor" extensions/WikiEditor

Modify LocalSettings.php[edit]

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

wfLoadSkin( 'Vector' );
wfLoadExtension( 'TemplateData' );
wfLoadExtension( 'TemplateWizard' );
wfLoadExtension( 'WikiEditor' );

Run maintenance scripts[edit]

docker-compose exec mediawiki php maintenance/update.php