|
MediaWiki REL1_35
|

Public Member Functions | |
| onWikiPageDeletionUpdates ( $page, $content, &$updates) | |
| Use this hook to manipulate the list of DeferrableUpdates to be applied when a page is deleted. | |
Definition at line 14 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.