< Manual:Hooks 
 
      | SpecialTrackingCategories::preprocess | |
|---|---|
| Available from version 1.29.0 (Gerrit change 321224) Called after LinkBatch on Special:TrackingCategories | |
| Define function: | public static function onSpecialTrackingCategories_preprocess( SpecialTrackingCategories $specialPage, array $trackingCategories ) { ... }
 | 
| Attach hook: | In extension.json: {
	"Hooks": {
		"SpecialTrackingCategories::preprocess": "MyExtensionHooks::onSpecialTrackingCategoriespreprocess"
	}
}
 | 
| Called from: | File(s): specials/SpecialTrackingCategories.php Function(s): execute | 
| Interface: | SpecialTrackingCategories__preprocessHook.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SpecialTrackingCategories::preprocess extensions.
Details
- $specialPage: The SpecialTrackingCategories object
- $trackingCategories: Array of data from Special:TrackingCategories with msg and cats
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.