MediaWiki  master
BeforeHttpsRedirectHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
6 
25  public function onBeforeHttpsRedirect( $context, &$redirect );
26 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\BeforeHttpsRedirectHook
Definition: BeforeHttpsRedirectHook.php:11
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition: IContextSource.php:55
MediaWiki\Hook\BeforeHttpsRedirectHook\onBeforeHttpsRedirect
onBeforeHttpsRedirect( $context, &$redirect)
This hook is called prior to forcing HTTP->HTTPS redirect.
MediaWiki\$context
IContextSource $context
Definition: MediaWiki.php:40