MediaWiki REL1_35
|
Stable to implement. 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. | |
Stable to implement.
Definition at line 14 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.