Deleting old copies of pages from the database
Jump to navigation
Jump to search
Deleting old copies of pages from the database[edit]
- Are you trying to hide that you deleted those pages? If so, you will need revision rights, which you need to enable in localsettings.php (see Manual:RevisionDelete).
- If you're trying to delete archived revisions (but not the history of a page), then Manual:DeleteArchivedRevisions.php.
- If you're trying to delete page histories, then Manual:DeleteOldRevisions.php.
- There's also an extension that lets you delete pages permanently, without any trace (Extension:DeletePagesForGood).
- You could also delete their data by accessing the database itself and searching them in the tables they belong to (though you're better off trying the previous options).
- The deletions are logged inside the database table logging.
- Deletions have "delete" as value in column log_type.
- You can then limit the rows to remove e.g. using the value of log_timestamp and of log_user_text.