Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -289,6 +289,8 @@ |
290 | 290 | $article: the article (object) being deleted |
291 | 291 | $user: the user (object) deleting the article |
292 | 292 | $reason: the reason (string) the article is being deleted |
| 293 | +$error: if the deletion was prohibited, the (raw HTML) error message to display |
| 294 | + (added in 1.13) |
293 | 295 | |
294 | 296 | 'ArticleDeleteComplete': after an article is deleted |
295 | 297 | $article: the article that was deleted |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -170,6 +170,7 @@ |
171 | 171 | * Add zh-mo and zh-my variants for the zh language |
172 | 172 | * (bugs 4832, 9481, 12890) Special:Recentchangeslinked now has all options that |
173 | 173 | are in Special:Recentchanges |
| 174 | +* Allow an $error message to be passed to ArticleDelete hook |
174 | 175 | |
175 | 176 | === Bug fixes in 1.13 === |
176 | 177 | |