MediaWiki
master
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onEditPageNoSuchSection ( $editpage, &$res) | |
This hook is called when a section edit request is given for a non-existent section. More... | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "EditPageNoSuchSection" to register handlers implementing this interface.
Definition at line 14 of file EditPageNoSuchSectionHook.php.
MediaWiki\Hook\EditPageNoSuchSectionHook::onEditPageNoSuchSection | ( | $editpage, | |
& | $res | ||
) |
This hook is called when a section edit request is given for a non-existent section.
EditPage | $editpage | Current EditPage object |
string | &$res | HTML of the error text |
Implemented in MediaWiki\HookContainer\HookRunner.