Index: trunk/extensions/CategoryTree/CategoryTreeFunctions.php |
— | — | @@ -374,7 +374,11 @@ |
375 | 375 | |
376 | 376 | if ( !$allowMissing && !$title->getArticleID() ) { |
377 | 377 | $html .= Xml::openElement( 'span', array( 'class' => 'CategoryTreeNotice' ) ); |
378 | | - $html .= wfMsgExt( 'categorytree-not-found', 'parseinline', htmlspecialchars( $category ) ); |
| 378 | + if( $parser ) { |
| 379 | + $html .= $parser->recursiveTagParse( wfMsgNoTrans( 'categorytree-not-found', $category ) ); |
| 380 | + } else { |
| 381 | + $html .= wfMsgExt( 'categorytree-not-found', 'parseinline', htmlspecialchars( $category ) ); |
| 382 | + } |
379 | 383 | $html .= Xml::closeElement( 'span' ); |
380 | 384 | } |
381 | 385 | else { |