MediaWiki REL1_35
MediaWiki\Api\Hook\ApiDeprecationHelpHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Api\Hook\ApiDeprecationHelpHook:

Public Member Functions

 onApiDeprecationHelp (&$msgs)
 Use this hook to add messages to the 'deprecation-help' warning generated from ApiBase::addDeprecation().
 

Detailed Description

Stable to implement.

Definition at line 11 of file ApiDeprecationHelpHook.php.

Member Function Documentation

◆ onApiDeprecationHelp()

MediaWiki\Api\Hook\ApiDeprecationHelpHook::onApiDeprecationHelp ( $msgs)

Use this hook to add messages to the 'deprecation-help' warning generated from ApiBase::addDeprecation().

Since
1.35
Parameters
Message[]&$msgsMessages to include in the help. Multiple messages will be joined with spaces.
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\Api\ApiHookRunner.


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