MediaWiki  master
MediaWiki\Hook\EditPage__attemptSaveHook Interface Reference

Stable to implement. 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::doEditContent() is called. More...
 

Detailed Description

Stable to implement.

Definition at line 12 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::doEditContent() 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: