MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onWikiPageDeletionUpdates ( $page, $content, &$updates) | |
Use this hook to manipulate the list of DeferrableUpdates to be applied when a page is deleted. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "WikiPageDeletionUpdates" to register handlers implementing this interface.
Definition at line 17 of file WikiPageDeletionUpdatesHook.php.
MediaWiki\Page\Hook\WikiPageDeletionUpdatesHook::onWikiPageDeletionUpdates | ( | $page, | |
$content, | |||
& | $updates ) |
Use this hook to manipulate the list of DeferrableUpdates to be applied when a page is deleted.
WikiPage | $page | |
Content | null | $content | Content to generate updates for, or null in case the page revision could not be loaded. The delete will succeed despite this. |
DeferrableUpdate[] | &$updates | Array of objects that implement DeferrableUpdate. Hook function may want to add to it. |
Implemented in MediaWiki\HookContainer\HookRunner.