MediaWiki file: cleanupRevActorPage.php
Location: maintenance/
Source code: master 1.40.0 1.39.4 1.35.11
Classes: CleanupRevActorPage

Details

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

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

Usage

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

  • Actor migration
  • Manual:MigrateActors.php
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.