From: Roan Kattouw Date: Thu, 4 Sep 2008 15:52:23 +0000 (+0000) Subject: Oops X-Git-Tag: 1.31.0-rc.0~45486 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=3bce06881147d3d984989cf76c78c12e9dc7d541;p=lhc%2Fweb%2Fwiklou.git Oops --- 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