Index: trunk/extensions/CodeReview/CodeReview.i18n.php |
— | — | @@ -92,6 +92,7 @@ |
93 | 93 | 'code-rev-purge-link' => 'purge', |
94 | 94 | 'code-rev-total' => 'Total number of results: $1', |
95 | 95 | 'code-rev-not-found' => "Revision '''$1''' does not exist!", |
| 96 | + 'code-rev-history-link' => 'history', |
96 | 97 | 'code-status-new' => 'new', |
97 | 98 | 'code-status-desc-new' => 'Revision is pending an action (default status).', |
98 | 99 | 'code-status-fixme' => 'fixme', |
Index: trunk/extensions/CodeReview/ui/CodeRevisionView.php |
— | — | @@ -291,6 +291,10 @@ |
292 | 292 | $path = preg_replace( '/ \([^\)]+\)$/', '', $path ); |
293 | 293 | $viewvc = $this->mRepo->getViewVcBase(); |
294 | 294 | $diff = ''; |
| 295 | + $hist = $this->skin->link( |
| 296 | + SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() ), |
| 297 | + wfMsg( 'code-rev-history-link' ), array(), array( 'path' => $path ) |
| 298 | + ); |
295 | 299 | $safePath = wfUrlEncode( $path ); |
296 | 300 | if ( $viewvc ) { |
297 | 301 | $rev = $this->mRev->getId(); |
— | — | @@ -318,7 +322,7 @@ |
319 | 323 | } else { |
320 | 324 | $link = $safePath; |
321 | 325 | } |
322 | | - return "<li><b>$link</b> ($desc)$diff</li>\n"; |
| 326 | + return "<li><b>$link</b> ($desc) ($hist)$diff</li>\n"; |
323 | 327 | } |
324 | 328 | |
325 | 329 | protected function tagForm() { |