| MediaWiki version: | ≥ 1.25 |
| MediaWiki file: cleanupBlocks.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
| Classes: | CleanupBlocks |
Details
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
This script does not take any options or arguments.
Usage
php maintenance/cleanupBlocks.php
Terminal
$ php maintenance/cleanupBlocks.php Done!
See also
- Manual:CleanupSpam.php
- Manual:CleanupPreferences.php
- Manual:CleanupRevActorPage.php
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.