MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onPostLoginRedirect (&$returnTo, &$returnToQuery, &$type) | |
Use this hook to modify the post login redirect behavior. | |
Stable to implement.
Definition at line 9 of file PostLoginRedirectHook.php.
MediaWiki\Hook\PostLoginRedirectHook::onPostLoginRedirect | ( | & | $returnTo, |
& | $returnToQuery, | ||
& | $type | ||
) |
Use this hook to modify the post login redirect behavior.
Occurs after signing up or logging in, allows for interception of redirect.
string | &$returnTo | The page name to return to, as a string |
string[] | &$returnToQuery | Array of url parameters, mapping parameter names to values |
string | &$type | Type of login redirect as string:
|
Implemented in MediaWiki\HookContainer\HookRunner.