MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onApiParseMakeOutputPage ( $module, $output) | |
This hook is called when preparing the OutputPage object for ApiParse. | |
Stable to implement.
Definition at line 12 of file ApiParseMakeOutputPageHook.php.
MediaWiki\Api\Hook\ApiParseMakeOutputPageHook::onApiParseMakeOutputPage | ( | $module, | |
$output | |||
) |
This hook is called when preparing the OutputPage object for ApiParse.
This is mainly intended for calling OutputPage::addContentOverride() or OutputPage::addContentOverrideCallback().
ApiBase | $module | ApiBase (which is also a ContextSource) |
OutputPage | $output |
Implemented in MediaWiki\Api\ApiHookRunner.