Manual:Hooks/OutputPageParserOutput
From MediaWiki.org
| OutputPageParserOutput | |
|---|---|
| Available from version 1.6.0 Called after parse, before the HTML is added to the output |
|
Define function: |
public static function onOutputPageParserOutput( OutputPage &$out, ParserOutput $parseroutput ) { ... }
|
Attach hook: |
$wgHooks['OutputPageParserOutput'][] = 'MyExtensionHooks::onOutputPageParserOutput'; |
| Called from: | OutputPage.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:OutputPageParserOutput extensions.
[edit] Details
- $out: the OutputPage (object) to which wikitext is added
- $parseroutput: - a ParserOutput object.