From: Fomafix Date: Mon, 3 Jul 2017 14:21:49 +0000 (+0200) Subject: Remove newline at end of MWExceptionRenderer::getShowBacktraceError X-Git-Tag: 1.31.0-rc.0~2682^2 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=6d0111186fc84c3a0d67356b1523559b62b1a481;p=lhc%2Fweb%2Fwiklou.git Remove newline at end of MWExceptionRenderer::getShowBacktraceError Also add a period at the end of the sentence. This changes the HTML comment from to This is a follow-up to 842b7a1769 (T162315). Change-Id: I45ff4f856ad1c0dc72066fce7771077ff4663785 --- diff --git a/includes/exception/MWExceptionRenderer.php b/includes/exception/MWExceptionRenderer.php index 579b6ca666..60cbf15912 100644 --- a/includes/exception/MWExceptionRenderer.php +++ b/includes/exception/MWExceptionRenderer.php @@ -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."; } /**