Manual:Hooks/SoftwareInfo

From MediaWiki.org
Jump to: navigation, search
SoftwareInfo
Available from version 1.15.0
Called by Special:Version for returning information about the software.

*Define function:
function fnMyHook( &$software ) { ... }

*Attach hook:
$wgHooks['SoftwareInfo'][] = 'MyExtensionHooks::someExample';
Called from: SpecialVersion.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:SoftwareInfo extensions.


[edit] Details

  • &$software: The array of software in format 'name' => 'version'. See SpecialVersion::softwareInformation()
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox