Page MenuHomePhabricator

Debug Toolbar does not pop on bad chars in debug text
Closed, ResolvedPublic

Description

Author: physik

Description:
hack for Debug.php

If there are non UTF-8 chars in the debug output the Debug toolbar does not pop up.
I fixed it for me, since I needed the output but there is probably a better solution.
I used code from
http://stackoverflow.com/questions/1401317/remove-non-utf8-characters-from-string


Version: 1.22.0
Severity: minor

Attached:

Details

Reference
bz48951

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:41 AM
bzimport set Reference to bz48951.
bzimport added a subscriber: Unknown Object (MLST).

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.

Related URL: https://gerrit.wikimedia.org/r/66393 (Gerrit Change I42f7a5c913b378c05b68970646c75894ca068ed9)