Index: trunk/extensions/AntiSpoof/generateEquivset.php |
— | — | @@ -144,7 +144,11 @@ |
145 | 145 | fclose( $outputFile ); |
146 | 146 | fclose( $serializedFile ); |
147 | 147 | |
148 | | - $this->error( '', $exitStatus ); |
| 148 | + $text = 'Finished'; |
| 149 | + if ( $exitStatus > 0 ) { |
| 150 | + $text .= ' with errors'; |
| 151 | + } |
| 152 | + $this->error( $text, $exitStatus ); |
149 | 153 | } |
150 | 154 | } |
151 | 155 | |
Index: trunk/extensions/AntiSpoof/batchAntiSpoof.php |
— | — | @@ -26,6 +26,7 @@ |
27 | 27 | |
28 | 28 | $batchSize = 1000; |
29 | 29 | |
| 30 | + $this->output( "Creating username spoofs...\n" ); |
30 | 31 | $result = $dbw->select( 'user', 'user_name', null, __FUNCTION__ ); |
31 | 32 | $n = 0; |
32 | 33 | $items = array(); |