Manual:deduplicateArchiveRevId.php

From Linux Web Expert

Revision as of 16:58, 23 February 2022 by imported>APaskulin (WMF)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.32
<translate> MediaWiki version:</translate>

Details

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

This script does not accept any options.

Usage

php maintenance/deduplicateArchiveRevId.php [ --force ]
Terminal
If it shows "Update 'DeduplicateArchiveRevId' already logged as completed." then run with --force argument.

See also