Page MenuHomePhabricator

Show debug output in toolbar
Closed, ResolvedPublic

Description

Author: physik

Description:
show debug output in toolbar

I'd prefer if the debug output written with the function wfDebugLog would be printed to the debug toolbar. Actually only the wfDebug function is written to the debug toolbar output.
If someone has the same feeling use the attached patch.


Version: 1.22.0
Severity: enhancement

Attached:

Details

Reference
bz48952

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:41 AM
bzimport set Reference to bz48952.

Comment on attachment 12422
show debug output in toolbar

+patch

We should make sure this doesn't cause security issues (if private info uses this log path).

Never mind, Krenair noted that wgDebugToolbar already must be false in production.

Component Logging is about Special:Log, not debug logging. Changed to general
for the moment, no idea for a better component

Hi! Thanks for your patch!

You are welcome to use Developer access

https://www.mediawiki.org/wiki/Developer_access

to submit this as a Git branch directly into Gerrit:

https://www.mediawiki.org/wiki/Git/Tutorial

Putting your branch in Git makes it easier to review it quickly.
Thanks again! We appreciate your contribution.

p.selitskas wrote:

Patch submitted to Gerrit: Ib979df08

https://gerrit.wikimedia.org/r/66394 (Gerrit Change Ib979df080332e16c8e0e6a89eab8741986ab39c3) | change APPROVED and MERGED [by jenkins-bot]