Manual:$wgExceptionHooks

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
Extensions: $wgExceptionHooks
Hooks that are used for outputting exceptions.
Introduced in version: 1.12.0 (r29444)
Removed in version: still in use
Allowed values: (array of callbacks)
Default value: array()
Other settings: Alphabetical | By function

Details[edit]

Hooks that are used for outputting exceptions. Format is:

$wgExceptionHooks[] = $funcname;

or:

$wgExceptionHooks[] = array( $class, $funcname );

Hooks should return strings or false.