From: physikerwelt Date: Mon, 3 Jun 2013 09:56:30 +0000 (+0000) Subject: (Bug 48952) Show debug output in toolbar X-Git-Tag: 1.31.0-rc.0~19425^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=63df600442e6614c21c42390a42651a0a9e8c5eb;p=lhc%2Fweb%2Fwiklou.git (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 --- 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 ); } }