From: Alexandre Emsenhuber Date: Sat, 22 Mar 2008 17:29:44 +0000 (+0000) Subject: Document ArticleRevisionVisiblitySet hook X-Git-Tag: 1.31.0-rc.0~48874 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=752b64e46d3727396fe337b0aa08bfeaee777984;p=lhc%2Fweb%2Fwiklou.git Document ArticleRevisionVisiblitySet hook --- 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)