From 752b64e46d3727396fe337b0aa08bfeaee777984 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 22 Mar 2008 17:29:44 +0000 Subject: [PATCH] Document ArticleRevisionVisiblitySet hook --- docs/hooks.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 8ff36783dd..d6379af40d 100644 --- 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) -- 2.20.1