Index: trunk/phase3/maintenance/updateSearchIndex.php |
— | — | @@ -70,10 +70,10 @@ |
71 | 71 | fwrite( $file, $end ); |
72 | 72 | fclose( $file ); |
73 | 73 | } else { |
74 | | - $this->output( "*** Couldn't write to the $posFile!\n" ); |
| 74 | + $this->error( "*** Couldn't write to the $posFile!\n" ); |
75 | 75 | } |
76 | 76 | } else { |
77 | | - $this->output( "*** Couldn't write to the $posFile!\n" ); |
| 77 | + $this->error( "*** Couldn't write to the $posFile!\n" ); |
78 | 78 | } |
79 | 79 | } |
80 | 80 | |
Index: trunk/phase3/maintenance/updateDoubleWidthSearch.php |
— | — | @@ -43,8 +43,7 @@ |
44 | 44 | |
45 | 45 | $dbw = wfGetDB( DB_MASTER ); |
46 | 46 | if ( $dbw->getType() !== 'mysql' ) { |
47 | | - $this->output( "This change is only needed on MySQL, quitting.\n" ); |
48 | | - exit( 1 ); |
| 47 | + $this->error( "This change is only needed on MySQL, quitting.\n", true ); |
49 | 48 | } |
50 | 49 | |
51 | 50 | $res = $this->findRows( $dbw ); |