ヘルプ:編集履歴の削除
提供:あわ自由帳
以下のコマンドで古い版(old revision)が消去される.
[sysop@host3 ~]$ cd /var/www/html/note/maintenance [sysop@host3 maintenance]$ php deleteOldRevisions.php --delete Delete old revisions Searching for active revisions...done. Searching for inactive revisions...done. 7255 old revisions found. Deleting...done. Searching for active text records in revisions table...done. Searching for active text records in archive table...done. Searching for inactive text records...done. 6649 inactive items found. Deleting...done.
最近更新したページに残る編集したことの記録を消去する。
[sysop@host3 ~]$ cd /var/www/html/note/maintenance [sysop@host3 maintenance]$ php rebuildrecentchanges.php Loading from page and revision tables... $wgRCMaxAge=7776000 (90 days) Updating links and size differences... Loading from user, page, and logging tables... Flagging bot account edits... Flagging auto-patrolled edits... Deleting feed timestamps. Done.