Index: branches/wmf-deployment/includes/specials/SpecialVersion.php |
— | — | @@ -477,12 +477,7 @@ |
478 | 478 | $info['url'] |
479 | 479 | ); |
480 | 480 | $pathRelativeToRepo = substr( $info['url'], strlen( $info['repo-url'] ) ); |
481 | | - if ( substr( $pathRelativeToRepo, 0, 6 ) == '/trunk' ) { |
482 | | - $viewvc .= '/?pathrev='; |
483 | | - } else { |
484 | | - // Avoids 404 error using pathrev when it does not found |
485 | | - $viewvc .= '/?revision='; |
486 | | - } |
| 481 | + $viewvc .= '/?pathrev='; |
487 | 482 | $viewvc .= urlencode( $info['checkout-rev'] ); |
488 | 483 | $info['viewvc-url'] = $viewvc; |
489 | 484 | } |