< Manual:Hooks
LinksUpdateComplete | |
---|---|
Available from version 1.12.0 At the end of LinksUpdate::doUpdate() when updating has completed | |
Define function: | public static function onLinksUpdateComplete( &$linksUpdate ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"LinksUpdateComplete": "MyExtensionHooks::onLinksUpdateComplete"
}
}
|
Called from: | File(s): deferred/LinksUpdate/LinksUpdate.php Function(s): LinksUpdate::doUpdate() |
Interface: | LinksUpdateCompleteHook.php |
For more information about attaching hooks, see Manual:Hooks
For examples of extensions using this hook, see Category:LinksUpdateComplete extensions.
This hook can be used for low-priority tasks intended to accompany page saves.
Details
- &$linksUpdate: the LinksUpdate object
See also
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.