Manual:$wgExceptionHooks/de-formal
This feature was removed completely in version 1.30.0. |
Extensions: $wgExceptionHooks | |
---|---|
Hooks that are used for outputting exceptions. |
|
Eingeführt in Version: | 1.12.0 (r29444) |
Entfernt in Version: | 1.30.0 (Gerrit change 355060; git #I85844a2) |
Erlaubte Werte: | (array of callbacks) |
Standardwert: | [] |
Andere Einstellungen: Alphabetisch | Nach Funktion |
Details
Hooks that are used for outputting exceptions. Format is:
$wgExceptionHooks['MWException'][] = $funcname;
or:
$wgExceptionHooks['MWException'][] = array( $class, $funcname /*, extra args... */ );
Hooks receive the exception object as their first argument and should return strings or false.