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

Public Member Functions | |
| onApiParseMakeOutputPage ( $module, $output) | |
| This hook is called when preparing the OutputPage object for ApiParse. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ApiParseMakeOutputPage" to register handlers implementing this interface.
Definition at line 15 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.