Manual:Hooks/LinksUpdate

From MediaWiki.org

Jump to: navigation, search
LinksUpdate
Available from version 1.12.0
At the beginning of LinksUpdate::doUpdate() just before the actual update

*Define function:
function fnMyHook( &$linksUpdate ) { ... }

*Attach hook:
$wgHooks['LinksUpdate'][] = 'fnMyHook';
Called from: LinksUpdate.php

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


[edit] Details

  • &$linksUpdate: the LinkUpdate object