Manual:$wgHooks/fr

Détails
Global list of hooks. It is an array of arrays: it specifies for every event an array of functions to be called.

Add a hook by doing:

ou:

ou:

ou:

In the last case, the callback is expected to be a method in $object of the same name as the event preceded by "on", e.g. "onUnknownAction"

Voir aussi

 * See Manual:Hooks for details.
 * Manual:$wgSpecialVersionShowHooks