Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4193033
IsTrustedProxyHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
639 B
Referenced Files
None
Subscribers
None
IsTrustedProxyHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "IsTrustedProxy" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
IsTrustedProxyHook
{
/**
* Use this hook to override the result of ProxyLookup::isTrustedProxy().
*
* @since 1.35
*
* @param string $ip IP being checked
* @param bool &$result Change this value to override the result of ProxyLookup::isTrustedProxy()
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onIsTrustedProxy
(
$ip
,
&
$result
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 20 2026, 19:00 (11 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
07/c6/5c57eb01d18fd8656d74dcb6b2c8
Default Alt Text
IsTrustedProxyHook.php (639 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment