Last modified: 2012-07-03 15:09:52 UTC
Global function wfHttpError() is only used in core by AjaxDispatcher. It should be deprecated and callers should use the HttpError exception instead.
Additionally, we want to avoid loosing time on old stuff (example: r110486 )
(In reply to comment #1) > Additionally, we want to avoid loosing time on old stuff (example: r110486 ) Still would've lost time, since the exception still mentions HTML2 as well ;-)
I like Chad's suggestion in r110486 better. We shouldn't deprecate things that are easy enough to support with a wrapper.
(In reply to comment #2) > Still would've lost time, since the exception still mentions HTML2 as well ;-) Exception DOCTYPE fixed with https://gerrit.wikimedia.org/r/5423
Made wfHttpError() thrown an HttpError exception with https://gerrit.wikimedia.org/r/5424
This was never merged -- needs a lot of cleanup before we do. REOPENING.