Podręcznik:$wgExceptionHooks
Appearance
Ta funkcja została całkowicie usunięta z jądra MediaWiki w wersji 1.30.0. |
| Rozszerzenia: $wgExceptionHooks | |
|---|---|
| Hooks that are used for outputting exceptions. |
|
| Wprowadzono w wersji: | 1.12.0 (r29444) |
| Usunięto w wersji: | 1.30.0 (Gerrit change 355060; git #I85844a2) |
| Dozwolone wartości: | (array of callbacks) |
| Domyślna wartość: | [] |
| Inne ustawienia: Alfabetycznie | Według funkcji | |
Szczegóły
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.