Manual:cleanupRevActorPage.php

From mediawiki.org
Other languages:

Details[edit]

cleanupRevActorPage.php is a maintenance script that cleans up cases where rev_page and revactor_page are out of sync. See phab:T232464 for an example. This script processes in batches of 1000 rows.

Options/Arguments[edit]

This script does not take any options or arguments as input.

Usage[edit]

php maintenance/cleanupRevActorPage.php
Terminal
$ php maintenance/cleanupRevActorPage.php

Resyncing revactor_page with rev_page...
... rev_id 1 - 1000, 0 changed
... rev_id 1001 - 2000, 0 changed
... rev_id 2001 - 3000, 2 changed
... rev_id 3001 - 4000, 23 changed
... rev_id 4001 - 5000, 0 changed
... rev_id 5001 - 6000, 9 changed
... rev_id 6001 - 7000, 18 changed
Completed resync, 52 row(s) updated

See also[edit]