From 63df600442e6614c21c42390a42651a0a9e8c5eb Mon Sep 17 00:00:00 2001 From: physikerwelt Date: Mon, 3 Jun 2013 09:56:30 +0000 Subject: [PATCH] (Bug 48952) Show debug output in toolbar The debug output written with the function wfDebugLog should be printed to the debug toolbar in the same way as wfDebug does. Change-Id: Ib979df080332e16c8e0e6a89eab8741986ab39c3 --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 1c6f642a1e..a44e45b553 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1001,7 +1001,7 @@ function wfDebugLog( $logGroup, $text, $public = true ) { wfErrorLog( "$time $host $wiki: $text", $wgDebugLogGroups[$logGroup] ); } } elseif ( $public === true ) { - wfDebug( "[$logGroup] $text", true ); + wfDebug( "[$logGroup] $text", false ); } } -- 2.20.1