r46548 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46547‎ | r46548 | r46549 >
Date:19:48, 29 January 2009
Author:ialex
Status:ok
Tags:
Comment:
Document UserIsBlockedGlobally hook
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -1385,6 +1385,11 @@
13861386 $user: User to get rights for
13871387 &$rights: Current rights
13881388
 1389+'UserIsBlockedGlobally': Check if user is blocked on all wikis.
 1390+&$user: User object
 1391+$ip: User's IP address
 1392+&$blocked: Whether the user is blocked, to be modified by the hook
 1393+
13891394 'UserLoadDefaults': called when loading a default user
13901395 $user: user object
13911396 $name: user name

Status & tagging log