Manual:Hooks/LinksUpdateConstructed

Category:MediaWiki hooks#LinksUpdateConstructed Category:Hooks added in MediaWiki 1.11.0#LinksUpdateConstructed Category:MediaWiki deprecated or obsolete features#LinksUpdateConstructed Category:Hooks removed in MediaWiki 1.40.0#LinksUpdateConstructed Category:Hooks deprecated in MediaWiki 1.38.0#LinksUpdateConstructed
LinksUpdateConstructed
Available from version 1.11.0
Removed in version 1.40.0 (Gerrit change 860937)Category:Removed hooks#LinksUpdateConstructed
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.phpCategory:MediaWiki hooks included in LinksUpdate.php#LinksUpdateConstructed
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

  • $linksupdate: the LinksUpdate object

See also

Category:Hooks added in MediaWiki 1.11.0 Category:Hooks deprecated in MediaWiki 1.38.0 Category:Hooks removed in MediaWiki 1.40.0 Category:MediaWiki deprecated or obsolete features Category:MediaWiki hooks Category:MediaWiki hooks included in LinksUpdate.php Category:Removed hooks