MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onArticleViewHeader ( $article, &$outputDone, &$pcache) | |
Use this hook to control article output. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ArticleViewHeader" to register handlers implementing this interface.
Definition at line 15 of file ArticleViewHeaderHook.php.
MediaWiki\Page\Hook\ArticleViewHeaderHook::onArticleViewHeader | ( | $article, | |
& | $outputDone, | ||
& | $pcache ) |
Use this hook to control article output.
This hook is called before the parser cache is about to be tried for article viewing.
Article | $article | |
bool | ParserOutput | &$outputDone | Whether the output for this page finished or not. Set to a ParserOutput object to both indicate that the output is done and what parser output was used. |
bool | &$pcache | Whether to try the parser cache or not |
Implemented in MediaWiki\HookContainer\HookRunner.