MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onGetAllBlockActions (&$actions) | |
Use this hook to add an action or actions that may be blocked by a partial block. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GetAllBlockActions" to register handlers implementing this interface.
Definition at line 12 of file GetAllBlockActionsHook.php.
MediaWiki\Block\Hook\GetAllBlockActionsHook::onGetAllBlockActions | ( | & | $actions | ) |
Use this hook to add an action or actions that may be blocked by a partial block.
Add an item to the $actions array with:
The ID must be 100 or greater (IDs below 100 are reserved for core actions), must not conflict with other extension IDs, and must be documented at: https://www.mediawiki.org/wiki/Manual:Hooks/GetAllBlockActions
int[] | &$actions | Array of actions, which may be added to |
Implemented in MediaWiki\HookContainer\HookRunner.