r79415 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79414‎ | r79415 | r79416 >
Date:10:51, 1 January 2011
Author:reedy
Status:ok
Tags:
Comment:
Fixup whitespace. Ughhh
Modified paths:
  • /trunk/extensions/CodeReview/repopulateCodePaths.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/repopulateCodePaths.php
@@ -8,7 +8,7 @@
99 class RepopulateCodePaths extends Maintenance {
1010 public function __construct() {
1111 parent::__construct();
12 - $this->mDescription = "Rebuilds all code paths to support more efficient searching";
 12+ $this->mDescription = "Rebuilds all code paths to support more efficient searching";
1313 $this->addArg( 'repo', 'The name of the repo. Cannot be all.' );
1414 $this->addArg( 'revisions', "The revisions to set status for. Format: start:end" );
1515 }
@@ -47,12 +47,12 @@
4848
4949 foreach ( $res as $row ) {
5050 $fragments = CodeRevision::getPathFragments(
51 - array( array( 'path' => $row->cp_path, 'action' => $row->cp_action ) ) );
 51+ array( array( 'path' => $row->cp_path, 'action' => $row->cp_action ) ) );
5252
5353 CodeRevision::insertPaths( $dbw, $fragments, $repo->getId(), $row->cp_rev_id );
5454
5555 $this->output( "r{$row->cp_rev_id}, path: " . $row->cp_path . " Fragments: " .
56 - count( $fragments ) . "\n" );
 56+ count( $fragments ) . "\n" );
5757 }
5858
5959 $dbw->commit();

Status & tagging log