MediaWiki version: | ≥ 1.32 |
MediaWiki file: | deduplicateArchiveRevId.php|
---|---|
Location: | maintenance/ |
Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
Classes: | DeduplicateArchiveRevId |
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
$ php maintenance/deduplicateArchiveRevId.php Deduplicating ar_rev_id... ... - Finished deduplicating ar_rev_id. 0 rows deleted, 0 assigned new IDs.
If it shows "Update 'DeduplicateArchiveRevId' already logged as completed." then run with --force argument.
See also
- Manual:PopulateRevisionSha1.php
- Manual:Archive table
- Manual:Revision table
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.