Manual:cleanupBlocks.php

MediaWiki version:
1.25

Details

edit

cleanupBlocks.php is a maintenance script that cleans up user blocks with usernames that do not match the user table.

This script works in two steps.

  1. Clean up duplicate user blocks.
  2. Update mismatched usernames.

Options/Arguments

edit

This script does not take any options or arguments.

Usage

edit
php maintenance/run.php cleanupBlocks
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

edit