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

Public Member Functions

 onCanIPUseHTTPS ( $ip, &$canDo)
 Use this hook to determine whether the client at a given source IP is likely to be able to access the wiki via HTTPS.
 

Detailed Description

Deprecated:
since 1.35

Definition at line 9 of file CanIPUseHTTPSHook.php.

Member Function Documentation

◆ onCanIPUseHTTPS()

MediaWiki\Hook\CanIPUseHTTPSHook::onCanIPUseHTTPS (   $ip,
$canDo 
)

Use this hook to determine whether the client at a given source IP is likely to be able to access the wiki via HTTPS.

Deprecated:
since 1.35 This feature will be removed. All clients should use HTTPS.
Since
1.35
Parameters
string$ipIP address in human-readable form
bool&$canDoSet to false if the client may not be able to use HTTPS
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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