MediaWiki REL1_39
MediaWiki\Hook\EditPageBeforeEditToolbarHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\EditPageBeforeEditToolbarHook:

Public Member Functions

 onEditPageBeforeEditToolbar (&$toolbar)
 Use this hook to add an edit toolbar above the textarea in the edit form.
 

Detailed Description

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

Use the hook name "EditPageBeforeEditToolbar" to register handlers implementing this interface.

Deprecated
since 1.36 Use one of the many other EditPage hooks instead

Definition at line 12 of file EditPageBeforeEditToolbarHook.php.

Member Function Documentation

◆ onEditPageBeforeEditToolbar()

MediaWiki\Hook\EditPageBeforeEditToolbarHook::onEditPageBeforeEditToolbar ( & $toolbar)

Use this hook to add an edit toolbar above the textarea in the edit form.

Since
1.35
Parameters
string&$toolbarToolbar HTML, initially an empty <div id="toolbar"></div>
Returns
bool|void True or no return value to continue, or false to have no toolbar HTML be loaded

Implemented in MediaWiki\HookContainer\HookRunner.


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