MediaWiki
master
TempUserCreatedRedirectHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Session\Session
;
6
use
MediaWiki\User\UserIdentity
;
7
15
interface
TempUserCreatedRedirectHook
{
36
public
function
onTempUserCreatedRedirect
(
37
Session
$session,
38
UserIdentity
$user,
39
string
$returnTo,
40
string
$returnToQuery,
41
string
$returnToAnchor,
42
&$redirectUrl
43
);
44
}
MediaWiki\Session\Session
Manages data for an authenticated session.
Definition
Session.php:54
MediaWiki\Hook\TempUserCreatedRedirectHook
This is a hook handler interface, see docs/Hooks.md.
Definition
TempUserCreatedRedirectHook.php:15
MediaWiki\Hook\TempUserCreatedRedirectHook\onTempUserCreatedRedirect
onTempUserCreatedRedirect(Session $session, UserIdentity $user, string $returnTo, string $returnToQuery, string $returnToAnchor, &$redirectUrl)
This hook is called after an action causes a temporary user to be created or after the first successf...
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
TempUserCreatedRedirectHook.php
Generated on Tue Sep 10 2024 03:23:22 for MediaWiki by
1.10.0