User:Robchurch/Categorising parser hook

setHook( 'stuff', 'efParserHookCategoriserRender' ); }	function efParserHookCategoriserRender( $input, $args, $parser ) { # Categorise so we can find this page later $cat = Title::makeTitle( NS_CATEGORY, 'Pages using Stuff' ); $parser->mOutput->addCategory( $cat->getDBkey, $parser->mTitle->getPrefixedText ); # Do some parser hook stuff here $blah = 'foo bar baz'; return $blah; }

}

?>