Document AuthPluginAutoCreate hook
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 17 May 2008 09:06:35 +0000 (09:06 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 17 May 2008 09:06:35 +0000 (09:06 +0000)
docs/hooks.txt

index 6d4d621..944b952 100644 (file)
@@ -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