Manual:Hooks/ArticleDelete

Details

 * $article: the article that was deleted (WikiPage object)
 * $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