r79406 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79405‎ | r79406 | r79407 >
Date:01:54, 1 January 2011
Author:reedy
Status:ok
Tags:
Comment:
Fragments if only 1 path sent too
Modified paths:
  • /trunk/extensions/CodeReview/backend/CodeRevision.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/backend/CodeRevision.php
@@ -25,6 +25,7 @@
2626 if ( $rev->mPaths ) {
2727 if ( count( $rev->mPaths ) == 1 ) {
2828 $common = $rev->mPaths[0]['path'];
 29+ $rev->mPaths = CodeRevision::getPathFragments( $rev->mPaths );
2930 } else {
3031 $first = array_shift( $rev->mPaths );
3132

Status & tagging log