Index: trunk/extensions/CodeReview/ui/SpecialCode.php |
— | — | @@ -99,7 +99,7 @@ |
100 | 100 | $view = new CodeRevisionStatusView( $params[0], $params[2] ); |
101 | 101 | break; |
102 | 102 | } elseif ( $params[1] === 'comments' ) { |
103 | | - $view = new CodeCommentAuthorListView( $params[0], $params[2] ); |
| 103 | + $view = new CodeCommentsListView( $params[0] ); |
104 | 104 | break; |
105 | 105 | } else { |
106 | 106 | # Nonsense parameters, back out |
— | — | @@ -114,6 +114,9 @@ |
115 | 115 | if ( $params[1] == 'author' && $params[3] == 'link' ) { |
116 | 116 | $view = new CodeRevisionAuthorLink( $params[0], $params[2] ); |
117 | 117 | break; |
| 118 | + } elseif ( $params[1] === 'comments' ) { |
| 119 | + $view = new CodeCommentAuthorListView( $params[0], $params[3] ); |
| 120 | + break; |
118 | 121 | } |
119 | 122 | default: |
120 | 123 | if ( $params[2] == 'reply' ) { |