Manual:Hooks/LinksUpdateConstructed

From MediaWiki.org
Jump to: navigation, search
LinksUpdateConstructed
Available from version 1.11.0
At the end of LinksUpdate() is contruction.

Define function:
public static function onLinksUpdateConstructed( $linksupdate ) { ... }

Attach hook:
$wgHooks['LinksUpdateConstructed'][] = 'MyExtensionHooks::onLinksUpdateConstructed';
Called from: LinksUpdate.php

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


[edit] Details

  • $linksupdate: the LinksUpdate object
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox