mediawiki-extensions-AbuseF.../includes/Hooks/AbuseFilterGetDangerousActionsHook.php
libraryupgrader 5377ebe819 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: I2b382f3bb236fb44eb24c6a257b13b8fd886541c
2021-07-21 18:51:18 +00:00

16 lines
423 B
PHP

<?php
namespace MediaWiki\Extension\AbuseFilter\Hooks;
interface AbuseFilterGetDangerousActionsHook {
/**
* Hook runner for the `AbuseFilterGetDangerousActions` hook
*
* Allows specifying custom consequences which can harm the user and prevent
* the edit from being saved.
*
* @param string[] &$actions The dangerous actions
*/
public function onAbuseFilterGetDangerousActions( array &$actions ): void;
}