Jump to content

Manual:deduplicateArchiveRevId.php

From mediawiki.org
MediaWiki version:
1.32

Details

[edit]

deduplicateArchiveRevId.php is a maintenance script that cleans up archive rows with duplicated ar_rev_id, both within archive and between archive and revision.

This script runs by default when you run Manual:Update.php . It processes 1000 items in every batch.

Options

[edit]

This script does not accept any options.

Usage

[edit]
php maintenance/run.php deduplicateArchiveRevId [ --force ]
Terminal
If it shows "Update 'DeduplicateArchiveRevId' already logged as completed." then run with --force argument.
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

[edit]