Manual:Hooks/LinksUpdateComplete
Jump to navigation
Jump to search
LinksUpdateComplete | |
---|---|
Available from version 1.12.0 At the end of LinksUpdate::doUpdate() when updating has completed |
|
Define function: |
public static function onLinksUpdateComplete( &$linksUpdate ) { ... }
|
Attach hook: |
In extension.json: {
"Hooks": {
"LinksUpdateComplete": "MyExtensionHooks::onLinksUpdateComplete"
}
}
|
Called from: | File(s): LinksUpdate.php Function(s): LinksUpdate::doUpdate() |
Interface: | LinksUpdateCompleteHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:LinksUpdateComplete extensions.
This hook can be used for low-priority tasks intended to accompany page saves.
Details[edit]
- &$linksUpdate: the LinksUpdate object