Page MenuHomeWickedGov Phorge

GlobalBlockingGetRetroactiveAutoblockIPsHook.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

GlobalBlockingGetRetroactiveAutoblockIPsHook.php

<?php
namespace MediaWiki\Extension\GlobalBlocking\Hooks;
use MediaWiki\Extension\GlobalBlocking\GlobalBlock;
interface GlobalBlockingGetRetroactiveAutoblockIPsHook {
/**
* Handle this hook to provide a list of IPs to retroactively globally autoblock for a given user target.
* Similar to the {@link PerformRetroactiveAutoblockHook} hook, but the caller is not expected to perform
* the autoblocks and the autoblocks will be global.
*
* @since 1.43
* @param GlobalBlock $globalBlock The global block that we are performing retroactive global autoblocks for
* @param int $limit The maximum number of IPs that will be retroactively autoblocked
* @param string[] &$ips The list of IPs to retroactively autoblock. If more than $limit IPs are provided, then
* only the first $limit IPs will be globally autoblocked.
* @return bool|void True or no return value to continue or false to abort
* @codeCoverageIgnore Cannot be annotated as covered.
*/
public function onGlobalBlockingGetRetroactiveAutoblockIPs( GlobalBlock $globalBlock, int $limit, array &$ips );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 11:47 (4 d, 10 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d0/b2/1f2684d048da3bbcfe2b4890240f
Default Alt Text
GlobalBlockingGetRetroactiveAutoblockIPsHook.php (1 KB)

Event Timeline