Manual:$wgExceptionHooks/pt-br

From Linux Web Expert

<translate> Extensions</translate>: $wgExceptionHooks
Ganchos que são usados para produzir exceções.
<translate> Introduced in version:</translate>1.12.0 (r29444)
<translate> Removed in version:</translate>1.30.0 (Gerrit change 355060; git #I85844a2)
<translate> Allowed values:</translate>(variedade de callbacks)
<translate> Default value:</translate>[]

Detalhes

Ganchos que são usados para produzir exceções. O formato é:

$wgExceptionHooks['MWException'][] = $funcname;

ou:

$wgExceptionHooks['MWException'][] = array( $class, $funcname /*, extra args... */ );

Os ganchos devem retornar cordas ou falso.