dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Pass the user and request into BlockManager::getUserBlock"
[lhc/web/wiklou.git]
/
docs
/
hooks.txt
diff --git
a/docs/hooks.txt
b/docs/hooks.txt
index
a248c29
..
43bfd8d
100644
(file)
--- a/
docs/hooks.txt
+++ b/
docs/hooks.txt
@@
-1585,7
+1585,8
@@
entitled to be in.
$user: user to promote.
&$promote: groups that will be added.
$user: user to promote.
&$promote: groups that will be added.
-'GetBlockedStatus': after loading blocking status of an user from the database
+'GetBlockedStatus': DEPRECATED since 1.34 - use GetUserBlock instead. After
+loading blocking status of a user from the database
&$user: user (object) being checked
'GetCacheVaryCookies': Get cookies that should vary cache options.
&$user: user (object) being checked
'GetCacheVaryCookies': Get cookies that should vary cache options.
@@
-3729,7
+3730,9
@@
$ip: User's IP address
false if a UserGetRights hook might remove the named right.
$right: The user right being checked
false if a UserGetRights hook might remove the named right.
$right: The user right being checked
-'UserIsHidden': Check if the user's name should be hidden. See User::isHidden().
+'UserIsHidden': DEPRECATED since 1.34 - use GetUserBlock instead, and add a
+system block that hides the user. Check if the user's name should be hidden.
+See User::isHidden().
$user: User in question.
&$hidden: Set true if the user's name should be hidden.
$user: User in question.
&$hidden: Set true if the user's name should be hidden.