MediaWiki REL1_39
MediaWiki\Hook\AlternateEditHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\AlternateEditHook:

Public Member Functions

 onAlternateEdit ( $editPage)
 This hook is called before checking if a user can edit a page and before showing the edit form ( EditPage::edit() ).
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file AlternateEditHook.php.

Member Function Documentation

◆ onAlternateEdit()

MediaWiki\Hook\AlternateEditHook::onAlternateEdit ( $editPage)

This hook is called before checking if a user can edit a page and before showing the edit form ( EditPage::edit() ).

This is triggered on &action=edit.

Since
1.35
Parameters
EditPage$editPage
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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