In FavParser.php I try to return different output for certain namespace. For one namespace I have to pass the title to a template:
$list .= wfMsgExt( 'templateName', array( 'parseinline' ), $title );
The problem is that the same parser is used twice then. Solutions are offered here: QINU fix. But I don't know hot to apply it to FavParser.php. It seems to be the solution using
function exampleExtension( $input, $argv, &$parser ) {
# do some stuff
$output = $parser->parse(
$stuff_to_parse, $parser->mTitle,
$parser->mOptions, true, false
);
return $output->getText();
}
Could you have a look please?