MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onApiMakeParserOptions ( $options, $title, $params, $module, &$reset, &$suppressCache) | |
This hook is called from ApiParse and ApiExpandTemplates to allow extensions to adjust the ParserOptions before parsing. | |
Stable to implement.
Definition at line 14 of file ApiMakeParserOptionsHook.php.
MediaWiki\Api\Hook\ApiMakeParserOptionsHook::onApiMakeParserOptions | ( | $options, | |
$title, | |||
$params, | |||
$module, | |||
& | $reset, | ||
& | $suppressCache | ||
) |
This hook is called from ApiParse and ApiExpandTemplates to allow extensions to adjust the ParserOptions before parsing.
ParserOptions | $options | |
Title | $title | Title to be parsed |
array | $params | Parameter array for the API module |
ApiBase | $module | API module (which is also a ContextSource) |
ScopedCallback | null | &$reset | Set to a ScopedCallback used to reset any hooks after the parse is done |
bool | &$suppressCache | Set true if cache should be suppressed |
Implemented in MediaWiki\Api\ApiHookRunner.