From 3bce06881147d3d984989cf76c78c12e9dc7d541 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 4 Sep 2008 15:52:23 +0000 Subject: [PATCH] Oops --- docs/hooks.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 2d2fe94350..44941eecf5 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -295,7 +295,7 @@ associated Revision object. In the hook, just add your callback to the $tokenFunctions array and return true (returning false makes no sense) $tokenFunctions: array(action => callback) -'APIQueryRecentChangesTokens': use this hook to add custom tokens to prop=revisions. +'APIQueryRecentChangesTokens': use this hook to add custom tokens to list=recentchanges. Every token has an action, which will be used in the rctoken parameter and in the output (actiontoken="..."), and a callback function which should return the token, or false if the user isn't allowed to obtain -- 2.20.1