Jump to navigation Jump to search
|This feature was removed completely in version 1.30.0.|
|Hooks that are used for outputting exceptions.
|Introduced in version:||1.12.0 (r29444)|
|Removed in version:||1.30.0 (Gerrit change 355060; )|
|Allowed values:||(array of callbacks)|
|Other settings: Alphabetical | By function|
Hooks that are used for outputting exceptions. Format is:
$wgExceptionHooks['MWException'] = $funcname;
$wgExceptionHooks['MWException'] = array( $class, $funcname /*, extra args... */ );
Hooks receive the exception object as their first argument and should return strings or false.