From: zoranzoki21 Date: Thu, 10 Jan 2019 13:47:45 +0000 (+0100) Subject: rollbackEdits.php: Cosmetic changes of outputs X-Git-Tag: 1.34.0-rc.0~3101^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=a39f18f49d176ca76ff95dfee3660945512b68b5 rollbackEdits.php: Cosmetic changes of outputs Change-Id: I18313edf4fe9577fb488159b019689a450454b2f --- diff --git a/maintenance/rollbackEdits.php b/maintenance/rollbackEdits.php index 0ea5db506e..22e10b5122 100644 --- a/maintenance/rollbackEdits.php +++ b/maintenance/rollbackEdits.php @@ -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" ); } } }