dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d72b7b3
)
Document UserLoadDefaults and UserSetCookies hooks
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Wed, 11 Jun 2008 11:07:34 +0000
(11:07 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Wed, 11 Jun 2008 11:07:34 +0000
(11:07 +0000)
docs/hooks.txt
patch
|
blob
|
history
diff --git
a/docs/hooks.txt
b/docs/hooks.txt
index
8451d61
..
76f080e
100644
(file)
--- a/
docs/hooks.txt
+++ b/
docs/hooks.txt
@@
-1205,6
+1205,10
@@
$user: User object
$user: User to get rights for
&$rights: Current rights
$user: User to get rights for
&$rights: Current rights
+'UserLoadDefaults': called when loading a default user
+$user: user object
+$name: user name
+
'UserLoadFromSession': called to authenticate users on external/environmental means
$user: user object being loaded
&$result: set this to a boolean value to abort the normal authentification process
'UserLoadFromSession': called to authenticate users on external/environmental means
$user: user object being loaded
&$result: set this to a boolean value to abort the normal authentification process
@@
-1236,6
+1240,11
@@
$talks: array of new talks page(s)
'UserSaveSettings': called when saving user settings
$user: User object
'UserSaveSettings': called when saving user settings
$user: User object
+'UserSetCookies': called when setting user cookies
+$user: User object
+&$session: session array, will be added to $_SESSION
+&$cookies: cookies array mapping cookie name to its value
+
'UserSetEmail': called when changing user email address
$user: User object
&$email: new email, change this to override new email address
'UserSetEmail': called when changing user email address
$user: User object
&$email: new email, change this to override new email address