< Manual:Hooks 
 
      | SoftwareInfo | |
|---|---|
| Available from version 1.15.0 Called by Special:Version for returning information about the software. | |
| Define function: | public static function onSoftwareInfo( &$software ) { ... }
 | 
| Attach hook: | In extension.json: {
	"Hooks": {
		"SoftwareInfo": "MyExtensionHooks::onSoftwareInfo"
	}
}
 | 
| Called from: | File(s): specials/SpecialVersion.php | 
| Interface: | SoftwareInfoHook.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SoftwareInfo extensions.
Details
- &$software: The array of software in format 'name' => 'version'. See SpecialVersion::softwareInformation()
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.