MediaWiki 1.39.10
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onRevisionDataUpdates ( $title, $renderedRevision, &$updates) | |
This hook is called when constructing a list of DeferrableUpdate to be executed to record secondary data about a revision. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "RevisionDataUpdates" to register handlers implementing this interface.
Definition at line 16 of file RevisionDataUpdatesHook.php.
MediaWiki\Storage\Hook\RevisionDataUpdatesHook::onRevisionDataUpdates | ( | $title, | |
$renderedRevision, | |||
& | $updates ) |
This hook is called when constructing a list of DeferrableUpdate to be executed to record secondary data about a revision.
Title | $title | Title of the page the revision belongs to |
RenderedRevision | $renderedRevision | RenderedRevision object representing the new revision and providing access to the RevisionRecord as well as ParserOutput of that revision |
DeferrableUpdate[] | &$updates | List of DeferrableUpdate that can be manipulated by the hook handler |
Implemented in MediaWiki\HookContainer\HookRunner.