MediaWiki-Docker/Extension/PageTriage
This page is currently a draft.
|
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
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.
Configure MariaDB
editThe 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
editgit clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/PageTriage" extensions/PageTriage
Install Composer dependencies
editThere are no non-dev Composer or npm dependencies. If you are interested in running unit tests, code linting, and other dev tasks, you may want to navigate to the extensions/PageTriage directory, then run composer update
and npm ci
.
Modify LocalSettings.php
editIf not already there, add this to the end of LocalSettings.php
.
wfLoadExtension( 'PageTriage' );
For more information, see: https://www.mediawiki.org/wiki/Extension:PageTriage#Advanced_configuration
Run maintenance scripts
editdocker compose exec mediawiki php maintenance/run.php update.php