MediaWiki REL1_35
MediaWiki\Hook\SpecialBlockModifyFormFieldsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\SpecialBlockModifyFormFieldsHook:

Public Member Functions

 onSpecialBlockModifyFormFields ( $sp, &$fields)
 Use this hook to add more fields to Special:Block.
 

Detailed Description

Stable to implement.

Definition at line 11 of file SpecialBlockModifyFormFieldsHook.php.

Member Function Documentation

◆ onSpecialBlockModifyFormFields()

MediaWiki\Hook\SpecialBlockModifyFormFieldsHook::onSpecialBlockModifyFormFields (   $sp,
$fields 
)

Use this hook to add more fields to Special:Block.

Since
1.35
Parameters
SpecialBlock$spSpecialPage object, for context
array&$fieldsCurrent HTMLForm fields
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: