From ecbdb3ad1c5868614e14ee6855e39449e0e6735e Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 17 May 2008 09:06:35 +0000 Subject: [PATCH] Document AuthPluginAutoCreate hook --- docs/hooks.txt | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.20.1