MediaWiki
1.39.10
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
{
30
public
function
onTempUserCreatedRedirect
(
31
Session
$session,
32
UserIdentity
$user,
33
string
$returnTo,
34
string
$returnToQuery,
35
string
$returnToAnchor,
36
&$redirectUrl
37
);
38
}
MediaWiki\Session\Session
Manages data for an authenticated session.
Definition
Session.php:50
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.
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 Oct 1 2024 01:15:42 for MediaWiki by
1.10.0