From 124d3cce7d30d0a286106fdf8c0c455c5350dfb6 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 27 Jun 2008 13:37:47 +0000 Subject: [PATCH] Update RELEASE-NOTES and hooks.txt for r36692. Contrary to the commit message, the AbortMove hook seems not to have been changed, so I didn't mention that. --- RELEASE-NOTES | 1 + docs/hooks.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 526fbb6c30..d8a7a58765 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -170,6 +170,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Add zh-mo and zh-my variants for the zh language * (bugs 4832, 9481, 12890) Special:Recentchangeslinked now has all options that are in Special:Recentchanges +* Allow an $error message to be passed to ArticleDelete hook === Bug fixes in 1.13 === diff --git a/docs/hooks.txt b/docs/hooks.txt index c1475ac1b3..fe856a2805 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -289,6 +289,8 @@ $content: the content (string) of the article $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 deletion was prohibited, the (raw HTML) error message to display + (added in 1.13) 'ArticleDeleteComplete': after an article is deleted $article: the article that was deleted -- 2.20.1