|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onAPIHelpModifyOutput ( $module, &$help, $options, &$tocData) | |
| Use this hook to modify an API module's help output. | |
Stable to implement.
Definition at line 11 of file APIHelpModifyOutputHook.php.
| MediaWiki\Api\Hook\APIHelpModifyOutputHook::onAPIHelpModifyOutput | ( | $module, | |
| & | $help, | ||
| $options, | |||
| & | $tocData | ||
| ) |
Use this hook to modify an API module's help output.
| ApiBase | $module | Module object |
| string[] | &$help | Array of HTML strings to be joined for the output |
| array | $options | Array of formatting options passed to ApiHelp::getHelp |
| array | &$tocData | If a TOC is being generated, this array has keys as anchors in the page and values as for Linker::generateTOC(). |
Implemented in MediaWiki\Api\ApiHookRunner.