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"

For MediaWiki ≤1.25:

$wgHooks['LinksUpdateComplete'][] = 'MyExtensionHooks::onLinksUpdateComplete';
Called from:File(s): LinksUpdate.php
Function(s): LinksUpdate::doUpdate()

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.


  • &$linksUpdate: the LinksUpdate object

See alsoEdit