MediaWiki REL1_35
MediaWiki\Hook\AlternateEditHook Interface Reference

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

Stable to implement.

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