Jump to: navigation, search
Available from version 1.12.0
At the beginning of LinksUpdate::doUpdate() just before the actual update
Define function:
public static function onLinksUpdate( &$linksUpdate ) { ... }
Attach hook:
$wgHooks['LinksUpdate'][] = 'MyExtensionHooks::onLinksUpdate';
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:LinksUpdate extensions.

Details[edit | edit source]

  • &$linksUpdate: the LinksUpdate object

See also[edit | edit source]