From c4867954fd84de3c11b46d1e6fff85fed68db36b Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Wed, 7 Oct 2009 14:30:12 +0000 Subject: [PATCH] Missing docs/hooks update for r57459 --- docs/hooks.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/hooks.txt b/docs/hooks.txt index 4588503e9a..1fec326a70 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -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 -- 2.20.1