Manual:Hooks/MaintenanceRefreshLinksInit

MaintenanceRefreshLinksInit
Available from version 1.18.0 (r85735)
Before executing the refreshLinks.php maintenance script.
Define function:
public static function onMaintenanceRefreshLinksInit( $refreshLinks ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"MaintenanceRefreshLinksInit": "MyExtensionHooks::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.


DetailsEdit

  • $refreshLinks: RefreshLinks object