MediaWiki REL1_35
MediaWiki\Hook\EditPageBeforeEditToolbarHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 9 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: