Manual:PopulateIpChanges.php

Category:MediaWiki deprecated or obsolete features#PopulateIpChanges.php
MediaWiki versions:
1.30 1.43
Category:MediaWiki code#PopulateIpChanges.php

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-idrev_id to start copying from.Optional0
--max-rev-idrev_id to stop atOptionalMaximum rev_id of results
--throttleWait this many milliseconds after copying each batch of revisionsOptional0
--forceRun regardless of whether the database says it has been run alreadyOptional

Usage

php maintenance/run.php populateIpChanges [ --rev-id| --max-rev-id| --throttle| --force ]
Terminal
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

Category:Maintenance scripts Category:User maintenance scripts
Category:Maintenance scripts Category:MediaWiki code Category:MediaWiki deprecated or obsolete features Category:User maintenance scripts