Manuel:deleteOrphanedRevisions.php

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:DeleteOrphanedRevisions.php and the translation is 20% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎日本語

Détails

deleteOrphanedRevisions.php is a maintenance script to delete revisions which refer to a non-existing page. It is useful to deal with any orphaned revisions left over after manual deletions of page records from the database. After removing revisions, the script also runs purgeOldText.php to purge unused text records.

Avertissement Avertissement : This script attempts to remove unused entries from the text table, which can cause potential data loss.

Usage

Option/Parameter Description
--report Prints out a count of affected revisions but doesn't delete them.