https://bugzilla.wikimedia.org/show_bug.cgi?id=41735
Daniel Kinzler <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #1 from Daniel Kinzler <[email protected]> 2012-11-05 13:13:30 UTC --- This uses wfWarn to issue a warning. If you want a traceback, set $wgDevelopmentWarnings to true. That triggers a PHP warning, which will be rendered to page output and/or written to the error log. Where and when a traceback is included with a logged warning is a matter of configuring mediawiki and php. Naming the caller is not practical, since the caller may just as well be ContentHandler::makeContent or something similarly unhelpful. To find the "interesting" caller, you really need a full stack trace. Closing as WFM, because with $wgDevelopmentWarnings I see a stack trace. Note that $wgDevelopmentWarnings is enabled automatically in unit tests. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
