From 6d0111186fc84c3a0d67356b1523559b62b1a481 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Mon, 3 Jul 2017 16:21:49 +0200 Subject: [PATCH] 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 --- includes/exception/MWExceptionRenderer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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."; } /** -- 2.20.1