Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5963451
AbuseFilterCustomActionsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
799 B
Referenced Files
None
Subscribers
None
AbuseFilterCustomActionsHook.php
View Options
<?php
namespace
MediaWiki\Extension\AbuseFilter\Hooks
;
// phpcs:ignore MediaWiki.Classes.UnusedUseStatement.UnusedUse
use
MediaWiki\Extension\AbuseFilter\Consequences\Consequence\Consequence
;
// phpcs:ignore MediaWiki.Classes.UnusedUseStatement.UnusedUse
use
MediaWiki\Extension\AbuseFilter\Consequences\Parameters
;
interface
AbuseFilterCustomActionsHook
{
/**
* Hook runner for the `AbuseFilterCustomActions` hook
*
* Allows specifying custom actions. Callers should append to $actions, using the action name as (string) key,
* and the value should be a callable with the signature documented below.
*
* @param callable[] &$actions
* @phan-param array<string,callable(Parameters,array):Consequence> &$actions
*/
public
function
onAbuseFilterCustomActions
(
array
&
$actions
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 09:39 (1 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
75/61/d1d7c42eb5dc21cd60ea8980cb7b
Default Alt Text
AbuseFilterCustomActionsHook.php (799 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment