Jump to content
MediaWiki

Manual:cleanupRevActorPage.php

From mediawiki.org
Languages:
MediaWiki file: cleanupRevActorPage.php
Location: maintenance/
Source code: master1.44.21.43.51.39.15
Classes: CleanupRevActorPage

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 ]
phpmaintenance/run.phpcleanupRevActorPage
Terminal
$ php maintenance/run.php cleanupRevActorPage
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 ]

AltStyle によって変換されたページ (->オリジナル) /