< Manual:Hooks
MaintenanceRefreshLinksInit
Available from version 1.18.0 (r85735, codereview)
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.

Details

  • $refreshLinks: RefreshLinks object
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.