r69775 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69774‎ | r69775 | r69776 >
Date:07:15, 23 July 2010
Author:raymond
Status:ok
Tags:
Comment:
Use parentheses message to enclose the tool links
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeRepoListView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeRepoListView.php
@@ -21,7 +21,6 @@
2222 public static function getNavItem( $repo ) {
2323 global $wgLang, $wgUser;
2424 $name = $repo->getName();
25 - $text = "'''[[Special:Code/$name|$name]]''' (";
2625 $links[] = "[[Special:Code/$name/comments|" . wfMsgHtml( 'code-notes' ) . "]]";
2726 $links[] = "[[Special:Code/$name/statuschanges|" . wfMsgHtml( 'code-statuschanges' ) . "]]";
2827 if ( $wgUser->getId() ) {
@@ -35,8 +34,7 @@
3635 $links[] = "[[Special:Code/$name/status|" . wfMsgHtml( 'code-status' ) . "]]";
3736 $links[] = "[[Special:Code/$name/releasenotes|" . wfMsgHtml( 'code-releasenotes' ) . "]]";
3837 $links[] = "[[Special:Code/$name/stats|" . wfMsgHtml( 'code-stats' ) . "]]";
39 - $text .= $wgLang->pipeList( $links );
40 - $text .= ")";
 38+ $text = "'''[[Special:Code/$name|$name]]''' " . wfMsg( 'parentheses', $wgLang->pipeList( $links ) );
4139 return $text;
4240 }
4341 }

Status & tagging log