* (bug 16744) Calling <categorytree> or {{#categorytree:...}} on non-existent category no longer expose strip markers

Changed call from wfMsgExt() with 'parseinline' as option to Parser::recursiveTagParse()
This commit is contained in:
Alexandre Emsenhuber 2009-04-14 17:44:55 +00:00
parent bbad6d01ac
commit 9700e2d54a

View file

@ -374,7 +374,11 @@ class CategoryTree {
if ( !$allowMissing && !$title->getArticleID() ) {
$html .= Xml::openElement( 'span', array( 'class' => 'CategoryTreeNotice' ) );
$html .= wfMsgExt( 'categorytree-not-found', 'parseinline', htmlspecialchars( $category ) );
if( $parser ) {
$html .= $parser->recursiveTagParse( wfMsgNoTrans( 'categorytree-not-found', $category ) );
} else {
$html .= wfMsgExt( 'categorytree-not-found', 'parseinline', htmlspecialchars( $category ) );
}
$html .= Xml::closeElement( 'span' );
}
else {