This page instructs you to installExtension:CheckUser insideMediaWiki-Docker.
Follow theQuickstart instructions at MediaWiki-Docker page.Once MediaWiki is running and available athttp://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.
gitclone"https://gerrit.wikimedia.org/r/mediawiki/extensions/CheckUser"extensions/CheckUsergitclone"https://gerrit.wikimedia.org/r/mediawiki/skins/Vector"skins/Vector
Add this tocomposer.local.json:
{"extra":{"merge-plugin":{"include":["extensions/CheckUser/composer.json"]}}}
Alternatively copy
mvcomposer.local.json-samplecomposer.local.json
As this will include all extensions' composer.json files by default.
Run:
dockercomposeexecmediawikicomposerupdateIf not already there, add this to the end ofLocalSettings.php.
wfLoadExtension('CheckUser');wfLoadSkin('Vector');
dockercomposeexecmediawikiphpmaintenance/run.phpupdate.phpTo be able to access the data provided by the CheckUser extension, you will need an account with the checkuser group.This can be done using the script where<username> is replaced with the username of an existing account you want to give the checkuser rights.
dockercomposeexecmediawikiphpmaintenance/run.phpcreateAndPromote.php<username>[password]--custom-groupscheckuser
Alternatively standard installations should allow granting the checkuser rights by any bureaucrat.
| MediaWiki version: | ≥ 1.41 |
To effectively test the CheckUser extension, you may desire to insert fake testing data to the results tables.This can be done by running thepopulateCheckUserTablesWithSimulatedData.php maintenance script.You must change add$wgCheckUserDeveloperMode = true; to yourLocalSettings.php file to use the script.The first argument for the script is the number of testing actions to insert, which if not specified defaults to 1000.
| This will create real revisions and create entries in Special:Log. Do not use this on a production wiki. |
dockercomposeexecmediawikiphpextensions/CheckUser/maintenance/populateCheckUserTablesWithSimulatedData.php<count>