MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onGetCacheVaryCookies ( $out, &$cookies) | |
Use this hook to get cookies that should vary cache options. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GetCacheVaryCookies" to register handlers implementing this interface.
Definition at line 14 of file GetCacheVaryCookiesHook.php.
MediaWiki\Output\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.