Manual:Page deletion

Page deletion occurs when a page is deleted by the action=delete parameter to index.php or by API:Delete. All of the revisions in the page are moved from the revision table to the archive table and the page entry is deleted. The page deletion system is entirely separate from the revision deletion system.

Hooks

 * Manual:Hooks/ArticleConfirmDelete, occurs before writing the confirmation form for article deletion
 * Manual:Hooks/ArticleDelete, occurs whenever the software receives a request to delete an article
 * Manual:Hooks/ArticleDeleteComplete, occurs after the delete article request has been processed