Manual:DeleteOrphanedRevisions.php/pl

Wersja MediaWiki:
1.4
Category:MediaWiki code/pl#DeleteOrphanedRevisions.php

Szczegóły

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.

Uwaga Uwaga: This script attempts to remove unused entries from the text table, which can cause potential data loss and is very slow for large wikis.

Options

Option Description Required
--reportPrints out a count of affected revisions but doesn't delete them.Optional

Usage

php maintenance/run.php deleteOrphanedRevisions [ --report ]
Terminal
In MediaWiki version 1.39.13 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

Category:Maintenance scripts/pl#DeleteOrphanedRevisions.php Category:Content maintenance scripts/pl
Category:Content maintenance scripts/pl Category:Maintenance scripts/pl Category:MediaWiki code/pl