Manual:Hooks/ArticleDelete

Details

 * $article: the article that was deleted. WikiPage in MW >= 1.18, Article in 1.17.x and earlier.
 * $user: the user (object) deleting the article
 * $reason: the reason (string) the article is being deleted
 * $error: if the requested article deletion was prohibited, the (raw HTML) error message to display (added in 1.13)