Manual:cleanupBlocks.php
Appearance
MediaWiki version: | ≥ 1.25 |
MediaWiki file: cleanupBlocks.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | CleanupBlocks |
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.
- Clean up duplicate user blocks.
- Update mismatched usernames.
Options/Arguments
[edit]This script does not take any options or arguments.
Usage
[edit]php maintenance/cleanupBlocks.php
Terminal
$ php maintenance/cleanupBlocks.php Done!