Manual:Hooks/MaintenanceRefreshLinksInit
MaintenanceRefreshLinksInit | |
---|---|
Available from version 1.18.0 (r85735, CodeReview archive) Before executing the refreshLinks.php maintenance script. | |
Define function: | public static function onMaintenanceRefreshLinksInit( $refreshLinks ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"MaintenanceRefreshLinksInit": "MediaWiki\\Extension\\MyExtension\\Hooks::onMaintenanceRefreshLinksInit"
}
}
|
Called from: | File(s): ../maintenance/refreshLinks.php |
Interface: | MaintenanceRefreshLinksInitHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:MaintenanceRefreshLinksInit extensions.
Details
edit- $refreshLinks: RefreshLinks object