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: |
function fnMyHook( &$out, $parseroutput ) { ... }
|
*Attach hook: |
$wgHooks['OutputPageParserOutput'][] = 'fnMyHook'; |
| 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.