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:
ee967d3
)
Document AuthPluginAutoCreate hook
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sat, 17 May 2008 09:06:35 +0000
(09:06 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sat, 17 May 2008 09:06:35 +0000
(09:06 +0000)
docs/hooks.txt
patch
|
blob
|
history
diff --git
a/docs/hooks.txt
b/docs/hooks.txt
index
6d4d621
..
944b952
100644
(file)
--- a/
docs/hooks.txt
+++ b/
docs/hooks.txt
@@
-404,6
+404,10
@@
$create: Whether or not the restoration caused the page to be created
'ArticleViewRedirect': before setting "Redirected from ..." subtitle when follwed an redirect
$article: target article (object)
+'AuthPluginAutoCreate': Called when creating a local account for an user logged
+in from an external authentication method
+$user: User object created locally
+
'AuthPluginSetup': update or replace authentication plugin object ($wgAuth)
Gives a chance for an extension to set it programattically to a variable class.
&$auth: the $wgAuth object, probably a stub