From: Antoine Musso Date: Sat, 19 May 2007 21:45:07 +0000 (+0000) Subject: Documentation for AlternateEdit hook (triggered on &action=new). Been there for ages. X-Git-Tag: 1.31.0-rc.0~52857 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=510bd203e90f3790d16d094957b563373ee9dd33;p=lhc%2Fweb%2Fwiklou.git Documentation for AlternateEdit hook (triggered on &action=new). Been there for ages. --- diff --git a/docs/hooks.txt b/docs/hooks.txt index aa14d3cd39..6d3ac24689 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -251,6 +251,11 @@ $message: out parameter: error message to display on abort 'AddNewAccount': after a user account is created $user: the User object that was created. (Parameter added in 1.7) +'AlternateEdit': before checking if an user can edit a page and +before showing the edit form ( EditPage::edit() ). This is triggered +on &action=edit. +$EditPage : the EditPage object + 'ArticleDelete': before an article is deleted $article: the article (object) being deleted $user: the user (object) deleting the article