Index: trunk/extensions/CodeReview/CodeTagListView.php |
— | — | @@ -13,7 +13,9 @@ |
14 | 14 | $name = $this->mRepo->getName(); |
15 | 15 | $text = ''; |
16 | 16 | foreach( $tags as $tag ) { |
17 | | - $text .= "* [[Special:Code/$name/tag/$tag|$tag]] - " . wfMsg( "code-status-$tag-desc" ) . "\n"; |
| 17 | + $msg = "code-status-$tag-desc"; |
| 18 | + $exp = wfEmptyMsg( $msg, wfMsg($msg) ) ? '' : ' - ' . wfMsgHtml( "code-status-$tag-desc" ); |
| 19 | + $text .= "* [[Special:Code/$name/tag/$tag|$tag]]$exp\n"; |
18 | 20 | } |
19 | 21 | $wgOut->addWikiText( $text ); |
20 | 22 | } |