(Bug 48952) Show debug output in toolbar
authorphysikerwelt <wiki@physikerwelt.de>
Mon, 3 Jun 2013 09:56:30 +0000 (09:56 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 13 Jun 2013 05:26:24 +0000 (05:26 +0000)
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

index 1c6f642..a44e45b 100644 (file)
@@ -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 );
        }
 }