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:
e619926
)
Document ArticleRevisionVisiblitySet hook
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sat, 22 Mar 2008 17:29:44 +0000
(17:29 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sat, 22 Mar 2008 17:29:44 +0000
(17:29 +0000)
docs/hooks.txt
patch
|
blob
|
history
diff --git
a/docs/hooks.txt
b/docs/hooks.txt
index
8ff3678
..
d6379af
100644
(file)
--- a/
docs/hooks.txt
+++ b/
docs/hooks.txt
@@
-340,7
+340,11
@@
$moveonly: boolean whether it was for move only or not
'ArticlePurge': before executing "&action=purge"
$article: article (object) to purge
-'ArticleRevisionUndeleted' after an article revision is restored
+'ArticleRevisionVisiblitySet': called when changing visibility of one or more
+revision of an article
+&$title: title object of the article
+
+'ArticleRevisionUndeleted': after an article revision is restored
$title: the article title
$revision: the revision
$oldPageID: the page ID of the revision when archived (may be null)