From: Alexandre Emsenhuber Date: Wed, 14 May 2008 12:45:16 +0000 (+0000) Subject: Document new hook UserLoadFromSession and add a note to RELEASE-NOTES that AutoAuthen... X-Git-Tag: 1.31.0-rc.0~47637 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27votes%27%2C%20votes=%27waiting%27%29%20%7D%7D?a=commitdiff_plain;h=24b095a3d61112ab9fb900156c5ce6969ee2e9d0;p=lhc%2Fweb%2Fwiklou.git Document new hook UserLoadFromSession and add a note to RELEASE-NOTES that AutoAuthenticate has been renamed --- 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.