Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Extension\AbuseFilter\Hooks; |
4 | |
5 | interface AbuseFilterGetDangerousActionsHook { |
6 | /** |
7 | * Hook runner for the `AbuseFilterGetDangerousActions` hook |
8 | * |
9 | * Allows specifying custom consequences which can harm the user and prevent |
10 | * the edit from being saved. |
11 | * |
12 | * @param string[] &$actions The dangerous actions |
13 | */ |
14 | public function onAbuseFilterGetDangerousActions( array &$actions ): void; |
15 | } |