From: Alexandre Emsenhuber Date: Sat, 17 May 2008 09:06:35 +0000 (+0000) Subject: Document AuthPluginAutoCreate hook X-Git-Tag: 1.31.0-rc.0~47578 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=ecbdb3ad1c5868614e14ee6855e39449e0e6735e;p=lhc%2Fweb%2Fwiklou.git Document AuthPluginAutoCreate hook --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 6d4d621d12..944b952e55 100644 --- 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