MediaWiki  master
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. More...
 

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: