This page instructs you to install Extension:PageTriage 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
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.
Configure MariaDB
The extension can have unexpected behavior with the default sqlite database, so MariaDB is recommended. See: https://www.mediawiki.org/wiki/MediaWiki-Docker/Configuration_recipes/Alternative_databases#MySQL_(single_database_server)
Clone the repository and its dependencies
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/PageTriage" extensions/PageTriage
Install Composer dependencies
There are no Composer dependencies.
Modify LocalSettings.php
If not already there, add this to the end of LocalSettings.php
.
wfLoadExtension( 'PageTriage' );
For more informations, see: https://www.mediawiki.org/wiki/Extension:PageTriage#Advanced_configuration
Run maintenance scripts
docker compose exec mediawiki php maintenance/run.php update.php