MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onGetCacheVaryCookies ( $out, &$cookies) | |
Use this hook to get cookies that should vary cache options. | |
Stable to implement.
Definition at line 11 of file GetCacheVaryCookiesHook.php.
MediaWiki\Hook\GetCacheVaryCookiesHook::onGetCacheVaryCookies | ( | $out, | |
& | $cookies | ||
) |
Use this hook to get cookies that should vary cache options.
OutputPage | $out | |
string[] | &$cookies | Array of cookie names. Add a value to it if you want to add a cookie that has to vary cache options. |
Implemented in MediaWiki\HookContainer\HookRunner.