Document new hook UserLoadFromSession and add a note to RELEASE-NOTES that AutoAuthenticate has been renamed

This commit is contained in:
Alexandre Emsenhuber 2008-05-14 12:45:16 +00:00
parent 09f0385485
commit 24b095a3d6
2 changed files with 5 additions and 3 deletions

View file

@ -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 ===

View file

@ -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.