Index: trunk/extensions/CodeReview/CodeRevisionView.php |
— | — | @@ -154,8 +154,12 @@ |
155 | 155 | $rev = $this->mRev->getId(); |
156 | 156 | $prev = $rev - 1; |
157 | 157 | $safePath = wfUrlEncode( $path ); |
158 | | - $link = $this->mSkin->makeExternalLink( "$viewvc$safePath?view=markup&pathrev=$rev", $encPath ); |
159 | | - if( $action !== 'A' ) { |
| 158 | + if( $action !== 'D' ) { |
| 159 | + $link = $this->mSkin->makeExternalLink( "$viewvc$safePath?view=markup&pathrev=$rev", $encPath ); |
| 160 | + } else { |
| 161 | + $link = $encPath; |
| 162 | + } |
| 163 | + if( $action !== 'A' && $action !== 'D' ) { |
160 | 164 | $diff = ' (' . |
161 | 165 | $this->mSkin->makeExternalLink( "$viewvc$safePath?&pathrev=$rev&r1=$prev&r2=$rev", |
162 | 166 | wfMsgHtml('code-rev-diff-link') ) . |