mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-15 03:43:55 +00:00
* (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:
parent
bbad6d01ac
commit
9700e2d54a
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue