Remove newline at end of MWExceptionRenderer::getShowBacktraceError

Also add a period at the end of the sentence.

This changes the HTML comment from

<!-- Set $wgShowExceptionDetails = true; at the bottom
of LocalSettings.php to show detailed debugging
information
 -->

to

<!-- Set $wgShowExceptionDetails = true; at the bottom
of LocalSettings.php to show detailed debugging
information. -->

This is a follow-up to 842b7a1769 (T162315).

Change-Id: I45ff4f856ad1c0dc72066fce7771077ff4663785
This commit is contained in:
Fomafix 2017-07-03 16:21:49 +02:00
parent ffe76f8160
commit 6d0111186f

View file

@ -211,7 +211,7 @@ class MWExceptionRenderer {
"\nBacktrace:\n" .
MWExceptionHandler::getRedactedTraceAsString( $e ) . "\n";
} else {
return self::getShowBacktraceError( $e );
return self::getShowBacktraceError( $e ) . "\n";
}
}
@ -242,7 +242,7 @@ class MWExceptionRenderer {
$vars[] = '$wgShowDBErrorBacktrace = true;';
}
$vars = implode( ' and ', $vars );
return "Set $vars at the bottom of LocalSettings.php to show detailed debugging information\n";
return "Set $vars at the bottom of LocalSettings.php to show detailed debugging information.";
}
/**