Manuál:DeleteOrphanedRevisions.php
Verze MediaWiki: | ≥ 1.4 |
Soubor MediaWiki: deleteOrphanedRevisions.php | |
---|---|
Lokalita: | maintenance/ |
Zdrojový kód: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Třídy: | DeleteOrphanedRevisions |
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.
Options
Volby | Popis | Required |
---|---|---|
--report | Vrátí celkový počet revizí, učených ke smazání, ale nic nemaže. | Volitelné |
Použití
php maintenance/deleteOrphanedRevisions.php [ --report ]
Terminal
$ php maintenance/deleteOrphanedRevisions.php Delete Orphaned Revisions Checking for orphaned revisions...found 7. Deleting... done.