AdminLogs
Extensions
Confirm Edit
Confirm edit is used for the Captcha in the account creation page.
The extension files were first copied to a local extension folder.
The folder was then mounted through docker-compose.yml adding a line after Volumes :
Volumes: - ./ConfirmEdit:/var/www/html/extensions/ConfirmEdit
Finally, the locally mounted LocalSettings.php got these extra lines
wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/QuestyCaptcha' ]); $wgCaptchaQuestions = [ 'Question' => 'Response', ]; $wgCaptchaTriggers['create'] = true;
Then I restarted the service
UserMerge
Deleting user accounts can be tricky. The best solution seems to be merging accounts which is a good solution to double accounts or empty ghost accounts. For this there is a special page.
The extension couldn't be added through the following shoehorning solution. I had to copy the extension files to the docker container first.
docker cp extensions/UserMerge b3aca7519274:/var/www/html/extensions/
Then I proceeded to normal install by adding the following lines to the LocalSettings.php page mounted outside the container (through docker-compose.yml file)
wfLoadExtension( 'UserMerge' ); // By default nobody can use this function, enable for bureaucrat? $wgGroupPermissions['bureaucrat']['usermerge'] = true; // optional: default is array( 'sysop' ) $wgUserMergeProtectedGroups = array( 'groupname' );
Inside the docker container I ran the update php script afterwards, not sure if this was necessary?
docker exec -it <container> /bin/bash php maintenance/update.php
TO DO: check whether this line in docker-compose.yml is still useful : - ./userMerge:/var/www/html/extensions/UserMerge
Weird stuff / bugs etc
- wdqs container sometimes goes down
- query service doesn't fetch wikibase entered data
- Image from commons also don't fetch (preview is local but the actual integration to the wiki upon saving is not working)
to do
- update mediawiki