MediaWiki master
MediaWiki\Hook\SoftwareInfoHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onSoftwareInfo (&$software)
 This hook is called by Special:Version for returning information about the software.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SoftwareInfo" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 12 of file SoftwareInfoHook.php.

Member Function Documentation

◆ onSoftwareInfo()

MediaWiki\Hook\SoftwareInfoHook::onSoftwareInfo ( & $software)

This hook is called by Special:Version for returning information about the software.

Since
1.35
Parameters
array&$softwareThe array of software in format 'name' => 'version'. See SpecialVersion::softwareInformation().
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: