Index: trunk/extensions/CodeReview/ui/CodeRepoListView.php |
— | — | @@ -24,11 +24,13 @@ |
25 | 25 | $links[] = "[[Special:Code/$name/comments|" . wfMsgHtml( 'code-notes' ) . "]]"; |
26 | 26 | $links[] = "[[Special:Code/$name/statuschanges|" . wfMsgHtml( 'code-statuschanges' ) . "]]"; |
27 | 27 | if ( $wgUser->getId() ) { |
28 | | - $author = $repo->wikiUserAuthor( $wgUser->getName() ); |
| 28 | + $userName = $wgUser->getName(); |
| 29 | + $author = $repo->wikiUserAuthor( $userName ); |
29 | 30 | if ( $author !== false ) { |
30 | 31 | $links[] = "[[Special:Code/$name/author/$author|" . wfMsgHtml( 'code-mycommits' ) . "]]"; |
31 | | - $links[] = "[[Special:Code/$name/comments/$author|" . wfMsgHtml( 'code-mycomments' ) . "]]"; |
32 | 32 | } |
| 33 | + |
| 34 | + $links[] = "[[Special:Code/$name/comments/author/$userName|" . wfMsgHtml( 'code-mycomments' ) . "]]"; |
33 | 35 | } |
34 | 36 | $links[] = "[[Special:Code/$name/tag|" . wfMsgHtml( 'code-tags' ) . "]]"; |
35 | 37 | $links[] = "[[Special:Code/$name/author|" . wfMsgHtml( 'code-authors' ) . "]]"; |