MediaWiki  master
Revision\Hook\RevisionInsertCompleteHook Interface Reference

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

Inheritance diagram for Revision\Hook\RevisionInsertCompleteHook:

Public Member Functions

 onRevisionInsertComplete ( $revision, $data, $flags)
 This hook is called after a revision is inserted into the database. More...
 

Detailed Description

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

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

Deprecated:
since 1.31 Use RevisionRecordInserted hook instead

Definition at line 14 of file RevisionInsertCompleteHook.php.

Member Function Documentation

◆ onRevisionInsertComplete()

Revision\Hook\RevisionInsertCompleteHook::onRevisionInsertComplete (   $revision,
  $data,
  $flags 
)

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

Since
1.35
Parameters
Revision$revision
null$dataDEPRECATED! Always null!
null$flagsDEPRECATED! Always null!
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: