Page MenuHomeWickedGov Phorge

SubmitAction.php
No OneTemporary

Size
649 B
Referenced Files
None
Subscribers
None

SubmitAction.php

<?php
/**
* Wrapper for EditAction; sets the session cookie.
*
* @license GPL-2.0-or-later
* @file
* @ingroup Actions
*/
namespace MediaWiki\Actions;
/**
* This is the same as EditAction; except that it sets the session cookie.
*
* @ingroup Actions
*/
class SubmitAction extends EditAction {
/** @inheritDoc */
public function getName() {
return 'submit';
}
/** @inheritDoc */
public function show() {
// Send a cookie so anons get talk message notifications
$this->getRequest()->getSession()->persist();
parent::show();
}
}
/** @deprecated class alias since 1.44 */
class_alias( SubmitAction::class, 'SubmitAction' );

File Metadata

Mime Type
text/x-php
Expires
Oct 4 2026, 06:45 (5 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
09/e9/10cf165428dc8d0754237a98d34d
Default Alt Text
SubmitAction.php (649 B)

Event Timeline