MediaWiki  master
IsTrustedProxyHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
9 interface IsTrustedProxyHook {
19  public function onIsTrustedProxy( $ip, &$result );
20 }
MediaWiki\Hook\IsTrustedProxyHook\onIsTrustedProxy
onIsTrustedProxy( $ip, &$result)
Use this hook to override the result of ProxyLookup::isTrustedProxy().
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\IsTrustedProxyHook
Stable to implement.
Definition: IsTrustedProxyHook.php:9