User:DrEdWilliams: Difference between revisions
Jump to navigation
Jump to search
DrEdWilliams (talk | contribs) (Created page with "=== Deleting okd copies of pages from the database === * Are you trying to hide that you deleted those pages? If so, you will need revision rights, which you need to enable in...") |
DrEdWilliams (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
=== Deleting | === Deleting old copies of pages from the database === | ||
* 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). | * 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 archived revisions (but not the history of a page), then Manual:DeleteArchivedRevisions.php. | ||
| Line 5: | Line 5: | ||
* There's also an extension that lets you delete pages permanently, without any trace (Extension:DeletePagesForGood). | * 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). | * 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. | |||
Revision as of 03:18, 3 August 2019
Deleting old copies of pages from the database
- 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.