MediaWiki  master
MediaWiki\Hook\ExtensionTypesHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\ExtensionTypesHook:

Public Member Functions

 onExtensionTypes (&$extTypes)
 This hook is called when generating the extensions credits. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 12 of file ExtensionTypesHook.php.

Member Function Documentation

◆ onExtensionTypes()

MediaWiki\Hook\ExtensionTypesHook::onExtensionTypes ( $extTypes)

This hook is called when generating the extensions credits.

Use this to change the tables headers.

Since
1.35
Parameters
string[]&$extTypesAssociative array of extensions types. The key of each element contains the symbolic type string as used in extension.json, and the value contains the description of the type, in the current user language, to be used as a header on Special:Version.
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: