MediaWiki REL1_37
MediaWiki\Hook\EditPage__attemptSaveHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\EditPage__attemptSaveHook:

Public Member Functions

 onEditPage__attemptSave ( $editpage_Obj)
 This hook is called before an article is saved, before WikiPage::doUserEditContent() is called.
 

Detailed Description

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

Use the hook name "EditPage::attemptSave" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file EditPage__attemptSaveHook.php.

Member Function Documentation

◆ onEditPage__attemptSave()

MediaWiki\Hook\EditPage__attemptSaveHook::onEditPage__attemptSave (   $editpage_Obj)

This hook is called before an article is saved, before WikiPage::doUserEditContent() is called.

Since
1.35
Parameters
EditPage$editpage_ObjCurrent EditPage object
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: