Manual:Hooks/ParserTestParser

From MediaWiki.org

Jump to: navigation, search
ParserTestParser
Available from version 1.6.0
called when creating a new instance of Parser for parser tests

*Define function:
function fnMyHook( $parser ) { ... }

*Attach hook:
$wgHooks['ParserTestParser'][] = 'fnMyHook';
Called from: Parser.inc

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:ParserTestParser extensions.


[edit] Details

  • $parser: Parser object created