Manual:populateIpChanges.php

From Linux Web Expert

Revision as of 20:26, 2 April 2022 by imported>Shirayuki (Marked this version for translation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Details

populateIpChanges.php is a maintenance script that finds all rows in the revision table where the user is an IP and copies relevant fields to the ip_changes table. This backfilled data is then available when querying for IP ranges on Special:Contributions.

Options

Option Description Required Default
--rev-id rev_id to start copying from. <translate> Optional</translate> 0
--max-rev-id rev_id to stop at <translate> Optional</translate> Maximum rev_id of results
--throttle Wait this many milliseconds after copying each batch of revisions <translate> Optional</translate> 0
--force Run regardless of whether the database says it has been run already <translate> Optional</translate>

Usage

php maintenance/populateIpChanges.php [ --rev-id| --max-rev-id| --throttle| --force ]
Terminal

See also