Manual:Hooks/WebResponseSetCookie

Details

 * &$name: Cookie name passed to WebResponse::setcookie
 * &$value: Cookie value passed to WebResponse::setcookie
 * &$expire: Cookie expiration, as for PHP's setcookie
 * &$options: Options passed to WebResponse::setcookie. (This is only passed by reference after MediaWiki version 1.27)