Manual:Hooks/LinksUpdateComplete
| 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": "MediaWiki\\Extension\\MyExtension\\Hooks::onLinksUpdateComplete"
}
}
|
| Called from: | File(s): Deferred/LinksUpdate/LinksUpdate.phpCategory:MediaWiki hooks included in LinksUpdate.php#LinksUpdateComplete 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