MWException: restore prior render() logic
authorBryan Davis <bd808@wikimedia.org>
Sun, 2 Oct 2016 00:02:12 +0000 (18:02 -0600)
committerBryan Davis <bd808@wikimedia.org>
Sun, 2 Oct 2016 00:32:12 +0000 (18:32 -0600)
commiteeb382e3c7addd13ee70a58542412628e884f8ec
treeac8beb777dff2dd2a9142eccb4c380a1f6905075
parentc681e26915e5e16e9105e0695fcd4c4cd66e4749
MWException: restore prior render() logic

Partially revert 00bee02 by restoring the prior MWException::report()
logic. MWExceptionRenderer does not handle all of the MWException
subclasses that somehow modify the default render() behavior. Notable
among these is Flow\Exception\FlowException and its subclasses which
modify the `$wgOut` global to divert HTML output to alternate locations.

Bug: T147122
Change-Id: Ibe3cadca229ce21ed0a3a2482433e3a22b5f5646
includes/exception/MWException.php