From: Andrew Garrett Date: Wed, 7 Oct 2009 14:30:12 +0000 (+0000) Subject: Missing docs/hooks update for r57459 X-Git-Tag: 1.31.0-rc.0~39361 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=c4867954fd84de3c11b46d1e6fff85fed68db36b;p=lhc%2Fweb%2Fwiklou.git Missing docs/hooks update for r57459 --- 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