Manual:DeleteOldRevisions.php/ja

詳細
deleteOldRevisions.php file is a maintenance script to delete all old (non-current) revisions from the revision table in the database. The script works on old, non-deleted revisions (which are stored in the table). The script deletes all old, non-deleted revisions from the revision table and then invokes to purge the text records which no revision links to. This can be useful for reducing the size of the database but it does mean you lose the ability to restore the according revisions.

The script can be limited not to remove old revisions of all pages, but to only remove old revisions of specific pages.

This script does not remove any deleted revisions (which are stored in the table)! Use the maintenance script to delete all rows from the archive table.

このスクリプトはページの履歴を削除します. You need to be aware that there are licenses, which require you to keep the page histories. GFDL ライセンスのウィキを稼働している場合は、ページの履歴の保持を GFDL が要求することに留意する必要があります.

使用法
Deleting all old revisions:

Deleting all old revisions from specific pages (page id 1, 2, 15 and 38):