Manual:cleanupBlocks.php

From Linux Web Expert

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.25
<translate> MediaWiki version:</translate>

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.

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

Options/Arguments

This script does not take any options or arguments.

Usage

php maintenance/cleanupBlocks.php


Terminal

See also