MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
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. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "TempUserCreatedRedirect" to register handlers implementing this interface.
Definition at line 15 of file TempUserCreatedRedirectHook.php.
MediaWiki\Hook\TempUserCreatedRedirectHook::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.
The handler may modify the redirect URL.
Session | $session | |
UserIdentity | $user | |
string | $returnTo | The prefixed DB key of the title to redirect to |
string | $returnToQuery | An extra query part |
string | $returnToAnchor | Either an empty string or a fragment beginning with "#" |
string | &$redirectUrl | The URL to redirect to |
Implemented in MediaWiki\HookContainer\HookRunner.