MediaWiki REL1_35
MediaWiki\Page\Hook\PageDeletionDataUpdatesHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Page\Hook\PageDeletionDataUpdatesHook:

Public Member Functions

 onPageDeletionDataUpdates ( $title, $revision, &$updates)
 This hook is called when constructing a list of DeferrableUpdate to be executed when a page is deleted.
 

Detailed Description

Stable to implement.

Definition at line 14 of file PageDeletionDataUpdatesHook.php.

Member Function Documentation

◆ onPageDeletionDataUpdates()

MediaWiki\Page\Hook\PageDeletionDataUpdatesHook::onPageDeletionDataUpdates (   $title,
  $revision,
$updates 
)

This hook is called when constructing a list of DeferrableUpdate to be executed when a page is deleted.

Since
1.35
Parameters
Title$titleTitle of the page being deleted
RevisionRecord$revisionRevisionRecord representing the page's current revision at the time of deletion
DeferrableUpdate[]&$updatesList of DeferrableUpdate that can be manipulated by the hook handler
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: