https://bugzilla.wikimedia.org/show_bug.cgi?id=55818

--- Comment #2 from Tyler Romeo <tylerro...@gmail.com> ---
For the record, here is the traceback:

0. wfRunHooks at GlobalFunctions.php:3885
1. Hooks::run at Hooks.php:136
2. wfProfileIn at Profiler.php:38
3. Profiler::profileIn at Profiler.php:207
4. Profiler::debug at Profiler.php:719
5. wfDebug at GlobalFunctions.php:934
6. wfRunHooks at GlobalFunctions.php:3885

This is all because of the undocumented Debug hook in wfDebug. The Debug hook
is used if an extension wants to stop a debug message from being sent out (it
cannot change the message because it's not sent by reference).

I really don't see the point of this hook, and ideally the wfDebug and related
functions should be as low-level and avoid calling other code as much as
possible to avoid situations like this. So I suggest just removing that hook,
which would solve this loop.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to