MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
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. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "PageDeletionDataUpdates" to register handlers implementing this interface.
Definition at line 16 of file PageDeletionDataUpdatesHook.php.
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.
Title | $title | Title of the page being deleted |
RevisionRecord | $revision | RevisionRecord representing the page's current revision at the time of deletion |
DeferrableUpdate[] | &$updates | List of DeferrableUpdate that can be manipulated by the hook handler |
Implemented in MediaWiki\HookContainer\HookRunner.