Document ArticleRevisionVisiblitySet hook
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 22 Mar 2008 17:29:44 +0000 (17:29 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 22 Mar 2008 17:29:44 +0000 (17:29 +0000)
docs/hooks.txt

index 8ff3678..d6379af 100644 (file)
@@ -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)