dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4194275
)
Document GetCacheVaryCookies hook
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Thu, 10 Apr 2008 14:28:56 +0000
(14:28 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Thu, 10 Apr 2008 14:28:56 +0000
(14:28 +0000)
docs/hooks.txt
patch
|
blob
|
history
diff --git
a/docs/hooks.txt
b/docs/hooks.txt
index
63d89a5
..
c8856bf
100644
(file)
--- 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)