pageExist.php: Output trailing newlines

Change-Id: Ib4877bd084277fa574b6a9002d4f6b494b421326
This commit is contained in:
Reedy 2021-03-20 21:20:31 +00:00
parent 36f078527e
commit cbf86196d3

View file

@ -38,9 +38,9 @@ class PageExists extends Maintenance {
$code = 0;
if ( $pageExists ) {
$text = "{$title} exists.";
$text = "{$title} exists.\n";
} else {
$text = "{$titleArg} doesn't exist.";
$text = "{$titleArg} doesn't exist.\n";
$code = 1;
}
$this->output( $text );