Manual:Hooks/ArticleDelete

Details

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