Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F33805
SubmitAction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
649 B
Referenced Files
None
Subscribers
None
SubmitAction.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Thu, Dec 18, 10:24 (10 h, 6 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4e/79/17d7b5e6a4c280482dc5be5669f3
Default Alt Text
SubmitAction.php (649 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment