|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onEditPageBeforeEditButtons ( $editpage, &$buttons, &$tabindex) | |
| Use this hook to modify the edit buttons below the textarea in the edit form. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "EditPageBeforeEditButtons" to register handlers implementing this interface.
Definition at line 14 of file EditPageBeforeEditButtonsHook.php.
| MediaWiki\Hook\EditPageBeforeEditButtonsHook::onEditPageBeforeEditButtons | ( | $editpage, | |
| & | $buttons, | ||
| & | $tabindex ) |
Use this hook to modify the edit buttons below the textarea in the edit form.
| EditPage | $editpage | Current EditPage object |
| array | &$buttons | Array of edit buttons, "Save", "Preview", "Live", and "Diff" |
| int | &$tabindex | HTML tabindex of the last edit check/button |
Implemented in MediaWiki\HookContainer\HookRunner.