MediaWiki  master
TempUserCreatedRedirectHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
7 
30  public function onTempUserCreatedRedirect(
31  Session $session,
32  UserIdentity $user,
33  string $returnTo,
34  string $returnToQuery,
35  string $returnToAnchor,
36  &$redirectUrl
37  );
38 }
Manages data for an authenticated session.
Definition: Session.php:50
This is a hook handler interface, see docs/Hooks.md.
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.
Interface for objects representing user identity.