dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ff56d
)
Documentation for AlternateEdit hook (triggered on &action=new). Been there for ages.
author
Antoine Musso
<hashar@users.mediawiki.org>
Sat, 19 May 2007 21:45:07 +0000
(21:45 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Sat, 19 May 2007 21:45:07 +0000
(21:45 +0000)
docs/hooks.txt
patch
|
blob
|
history
diff --git
a/docs/hooks.txt
b/docs/hooks.txt
index
aa14d3c
..
6d3ac24
100644
(file)
--- 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