MediaWiki  master
MediaWiki\Hook\ExtensionTypesHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\ExtensionTypesHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 9 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.

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.
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: