From: Alexandre Emsenhuber Date: Thu, 10 Apr 2008 14:28:56 +0000 (+0000) Subject: Document GetCacheVaryCookies hook X-Git-Tag: 1.31.0-rc.0~48461 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=a1963860d52af6492190fd9e64a8334f9a5c7edb;p=lhc%2Fweb%2Fwiklou.git Document GetCacheVaryCookies hook --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 63d89a523b..c8856bf632 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -607,6 +607,11 @@ $reason: reason 'GetBlockedStatus': after loading blocking status of an user from the database $user: user (object) being checked +'GetCacheVaryCookies': get cookies that should vary cache options +$out: OutputPage object +&$cookies: array of cookies name, add a value to it if you want to add a cookie + that have to vary cache options + 'GetFullURL': modify fully-qualified URLs used in redirects/export/offsite data $title: Title object of page $url: string value as output (out parameter, can modify)