MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onArticleViewHeader ( $article, &$pcache, &$outputDone) | |
Use this hook to control article output. | |
Stable to implement.
Definition at line 12 of file ArticleViewHeaderHook.php.
MediaWiki\Page\Hook\ArticleViewHeaderHook::onArticleViewHeader | ( | $article, | |
& | $pcache, | ||
& | $outputDone | ||
) |
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 | &$pcache | Whether to try the parser cache or not |
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. |
Implemented in MediaWiki\HookContainer\HookRunner.