r42174 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42173‎ | r42174 | r42175 >
Date:16:45, 17 October 2008
Author:demon
Status:old
Tags:
Comment:
Minor tweak to the status messages. If we're going to define $msg, might as well use it universally.
Modified paths:
  • /trunk/extensions/CodeReview/CodeTagListView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeTagListView.php
@@ -14,7 +14,7 @@
1515 $text = '';
1616 foreach( $tags as $tag ) {
1717 $msg = "code-status-$tag-desc";
18 - $exp = wfEmptyMsg( $msg, wfMsg($msg) ) ? '' : ' - ' . wfMsgHtml( "code-status-$tag-desc" );
 18+ $exp = wfEmptyMsg( $msg, wfMsg( $msg ) ) ? '' : ' - ' . wfMsgHtml( $msg );
1919 $text .= "* [[Special:Code/$name/tag/$tag|$tag]]$exp\n";
2020 }
2121 $wgOut->addWikiText( $text );

Status & tagging log