Manual:Hooks/LinksUpdateConstructed

LinksUpdateConstructed
Available from version 1.11.0
Removed in version 1.40.0 (Gerrit change 860937)
At the end of LinksUpdate() is construction.
Define function:
public static function onLinksUpdateConstructed( $linksupdate ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"LinksUpdateConstructed": "MediaWiki\\Extension\\MyExtension\\Hooks::onLinksUpdateConstructed"
	}
}
Called from: File(s): LinksUpdate.php
Function(s): LinksUpdate::doUpdate()
Interface: LinksUpdateConstructedHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:LinksUpdateConstructed extensions.


Details

edit
  • $linksupdate: the LinksUpdate object

See also

edit