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.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 edit

  • &$linksUpdate: the LinksUpdate object

See also edit