public function show() { if (session_id() === '') { // Send a cookie so anons get talk message notifications wfSetupSession(); } parent::show(); }
public function show() { // Send a cookie so anons get talk message notifications MediaWiki\Session\SessionManager::getGlobalSession()->persist(); parent::show(); }