MediaWiki master
MediaWiki\Revision\Hook\RevisionRecordInsertedHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onRevisionRecordInserted ( $revisionRecord)
 This hook is called after a revision is inserted into the database.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file RevisionRecordInsertedHook.php.

Member Function Documentation

◆ onRevisionRecordInserted()

MediaWiki\Revision\Hook\RevisionRecordInsertedHook::onRevisionRecordInserted ( $revisionRecord)

This hook is called after a revision is inserted into the database.

Since
1.35
Parameters
RevisionRecord$revisionRecordRevisionRecord that has just been inserted
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: