rollbackEdits.php: Cosmetic changes of outputs
authorzoranzoki21 <zorandori4444@gmail.com>
Thu, 10 Jan 2019 13:47:45 +0000 (14:47 +0100)
committerZoranzoki21 <zorandori4444@gmail.com>
Thu, 10 Jan 2019 13:56:21 +0000 (13:56 +0000)
Change-Id: I18313edf4fe9577fb488159b019689a450454b2f

maintenance/rollbackEdits.php

index 0ea5db5..22e10b5 100644 (file)
@@ -71,7 +71,7 @@ class RollbackEdits extends Maintenance {
                }
 
                if ( !$titles ) {
-                       $this->output( 'No suitable titles to be rolled back' );
+                       $this->output( 'No suitable titles to be rolled back.' );
 
                        return;
                }
@@ -82,9 +82,9 @@ class RollbackEdits extends Maintenance {
                        $page = WikiPage::factory( $t );
                        $this->output( 'Processing ' . $t->getPrefixedText() . '... ' );
                        if ( !$page->commitRollback( $user, $summary, $bot, $results, $doer ) ) {
-                               $this->output( "done\n" );
+                               $this->output( "Done!\n" );
                        } else {
-                               $this->output( "failed\n" );
+                               $this->output( "Failed!\n" );
                        }
                }
        }