MediaWiki master
MediaWiki\Hook\ProtectionForm__buildFormHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

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

Detailed Description

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

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

Deprecated
since 1.36, use ProtectionFormAddFormFields

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: