Manual:deleteOrphanedRevisions.php

From Linux Web Expert

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

Podrobnosti

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.

File:OOjs UI icon notice-destructive.svg <translate> Warning:</translate> This script attempts to remove unused entries from the text table, which can cause potential data loss.

Options

Volby Popis Required
--report Vrátí celkový počet revizí, učených ke smazání, ale nic nemaže. <translate> Optional</translate>

Použití

php maintenance/deleteOrphanedRevisions.php [ --report ]
Terminal

See also