MediaWiki-Docker/Extension/ProofreadPage
This page is currently a draft.
|
Use the guide here to setup ProofreadPage. |
This page instructs you to install Extension:ProofreadPage 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
editgit clone "https://gerrit.wikimedia.org/r/mediawiki/skins/Vector" skins/Vector
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions" extensions/ParserFunctions
git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/ProofreadPage" extensions/ProofreadPage
Modify LocalSettings.php
editIf not already there, add this to the end of LocalSettings.php
.
wfLoadSkin( 'Vector' );
wfLoadExtension( 'ParserFunctions' );
wfLoadExtension( 'ProofreadPage' );
$wgProofreadPageEnableEditInSequence = true;
Run maintenance scripts
editdocker compose exec mediawiki php maintenance/run.php update.php
Further steps
editFollow the steps at How to use DjVu with MediaWiki.
Import files from this dump (containing files that were used as config files for English Wikisource in 2021) using the maintainance/importDumps.php
script.