dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1cc351
)
(Bug 48952) Show debug output in toolbar
author
physikerwelt
<wiki@physikerwelt.de>
Mon, 3 Jun 2013 09:56:30 +0000
(09:56 +0000)
committer
Gerrit 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
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
1c6f642
..
a44e45b
100644
(file)
--- 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",
tru
e );
+ wfDebug( "[$logGroup] $text",
fals
e );
}
}