MediaWiki REL1_35
MediaWiki\Hook\BeforeHttpsRedirectHook Interface Reference
Inheritance diagram for MediaWiki\Hook\BeforeHttpsRedirectHook:

Public Member Functions

 onBeforeHttpsRedirect ( $context, &$redirect)
 This hook is called prior to forcing HTTP->HTTPS redirect.
 

Detailed Description

Deprecated:
since 1.35

Definition at line 11 of file BeforeHttpsRedirectHook.php.

Member Function Documentation

◆ onBeforeHttpsRedirect()

MediaWiki\Hook\BeforeHttpsRedirectHook::onBeforeHttpsRedirect (   $context,
$redirect 
)

This hook is called prior to forcing HTTP->HTTPS redirect.

Use this hook to override how the redirect is output. ATTENTION: This hook is likely to be removed soon due to overall design of the system.

Since
1.35
Parameters
IContextSource$context
string&$redirectstring URL, modifiable
Returns
bool|void True or no return value to continue, or false to let standard HTTP rendering take place

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: