Missing docs/hooks update for r57459
authorAndrew Garrett <werdna@users.mediawiki.org>
Wed, 7 Oct 2009 14:30:12 +0000 (14:30 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Wed, 7 Oct 2009 14:30:12 +0000 (14:30 +0000)
docs/hooks.txt

index 4588503..1fec326 100644 (file)
@@ -1587,6 +1587,14 @@ $user: User object
 $user: User to get rights for
 &$rights: Current rights
 
+'UserIsBlockedFrom': Check if a user is blocked from a specific page (for specific block
+       exemptions).
+$user: User in question
+$title: Title of the page in question
+&$blocked: Out-param, whether or not the user is blocked from that page.
+&$allowUsertalk: If the user is blocked, whether or not the block allows users to edit their
+                  own user talk pages.
+
 'UserIsBlockedGlobally': Check if user is blocked on all wikis.
 &$user: User object
 $ip: User's IP address