Merge "Expose the log_id of the deletion log entry in the action=delete API"
[lhc/web/wiklou.git] / docs / hooks.txt
index 147e524..3744462 100644 (file)
@@ -427,6 +427,8 @@ $user: the user (object) deleting the article
 $reason: the reason (string) the article is being deleted
 $error: if the deletion was prohibited, the (raw HTML) error message to display
   (added in 1.13)
+$status: Status object, modify this to throw an error. Overridden by $error
+  (added in 1.20)
 
 'ArticleDeleteComplete': after an article is deleted
 $article: the WikiPage that was deleted