From 24b095a3d61112ab9fb900156c5ce6969ee2e9d0 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 14 May 2008 12:45:16 +0000 Subject: [PATCH] Document new hook UserLoadFromSession and add a note to RELEASE-NOTES that AutoAuthenticate has been renamed --- RELEASE-NOTES | 1 + docs/hooks.txt | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index fa164f7c7a..39027e64de 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -111,6 +111,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Show image links on Special:Whatlinkshere * Use rel="start", "prev", "next" appropriately on Pager-based pages * Add support for SQLite +* AutoAuthenticate hook renamed to UserLoadFromSession === Bug fixes in 1.13 === diff --git a/docs/hooks.txt b/docs/hooks.txt index bf8b39653f..00eb28fe87 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -408,9 +408,6 @@ $article: target article (object) Gives a chance for an extension to set it programattically to a variable class. &$auth: the $wgAuth object, probably a stub -'AutoAuthenticate': called to authenticate users on external/environmental means -$user: writes user object to this parameter - 'AutopromoteCondition': check autopromote condition for user. $type: condition type $args: arguments @@ -1163,6 +1160,10 @@ $user: User object $user: User to get rights for &$rights: Current rights +'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 + 'UserLoginComplete': after a user has logged in $user: the user object that was created on login $inject_html: Any HTML to inject after the "logged in" message. -- 2.20.1