From 1d24cd2354b5e4733ca6da2ab7f54bed7c703021 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sun, 5 Feb 2006 18:53:37 +0000 Subject: [PATCH] Document new hook to avoid brutal stabbing by Vibber the Vicious --- docs/hooks.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/hooks.txt b/docs/hooks.txt index 3db2668612..f6f3cb9240 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -380,6 +380,12 @@ string $saveName: destination file name string $tempName: filesystem path to the temporary file for checks string &$error: output: HTML error to show if upload canceled by returning false +'UserCan': To interrupt the "user can do X to Y article" check +$title: Title object being checked against +$user : Current user object +$action: Action being checked +$result: Pointer to result returned if hook returns false + 'UserCreateForm': change to manipulate the login form $template: SimpleTemplate instance for the form -- 2.20.1