Manual:Page deletion

Page deletion occurs when a page is deleted by the parameter to index.php or by. With both of these methods, the option exists to also delete the associated talk page (if one exists). All of the revisions in the page are moved from the table to the  table and the  entry is deleted. The page deletion system is entirely separate from the revision deletion system. It changes the value of while leaving the affected row(s) in the revision table and leaving the page table unchanged.

Hooks

 * - occurs before writing the confirmation form for article deletion
 * - occurs whenever the software receives a request to delete an article
 * - occurs after the delete article request has been processed