Document UserIsBlockedGlobally hook
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 29 Jan 2009 19:48:56 +0000 (19:48 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 29 Jan 2009 19:48:56 +0000 (19:48 +0000)
docs/hooks.txt

index 2b34fc5..2930e0c 100644 (file)
@@ -1385,6 +1385,11 @@ $user: User object
 $user: User to get rights for
 &$rights: Current rights
 
+'UserIsBlockedGlobally': Check if user is blocked on all wikis.
+&$user: User object
+$ip: User's IP address
+&$blocked: Whether the user is blocked, to be modified by the hook
+
 'UserLoadDefaults': called when loading a default user
 $user: user object
 $name: user name