MediaWiki  master
MediaWiki\Hook\ProtectionForm__buildFormHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\ProtectionForm__buildFormHook:

Public Member Functions

 onProtectionForm__buildForm ( $article, &$output)
 This hook is called after all protection type fieldsets are made in the form. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ProtectionForm::buildForm" to register handlers implementing this interface.

Stable to implement

Definition at line 15 of file ProtectionForm__buildFormHook.php.

Member Function Documentation

◆ onProtectionForm__buildForm()

MediaWiki\Hook\ProtectionForm__buildFormHook::onProtectionForm__buildForm (   $article,
$output 
)

This hook is called after all protection type fieldsets are made in the form.

Since
1.35
Parameters
Article$articleTitle being (un)protected
string&$outputString of the form HTML so far
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: