|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onEditPageNoSuchSection ( $editpage, &$res) | |
| This hook is called when a section edit request is given for a non-existent section. | |
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.