MediaWiki
1.34.0
SubmitAction.php
Go to the documentation of this file.
1
<?php
28
class
SubmitAction
extends
EditAction
{
29
30
public
function
getName
() {
31
return
'submit'
;
32
}
33
34
public
function
show
() {
35
// Send a cookie so anons get talk message notifications
36
MediaWiki\Session\SessionManager::getGlobalSession
()->persist();
37
38
parent::show();
39
}
40
}
SubmitAction\getName
getName()
Return the name of the action this object responds to.
Definition:
SubmitAction.php:30
SubmitAction\show
show()
The main action entry point.
Definition:
SubmitAction.php:34
MediaWiki\Session\SessionManager\getGlobalSession
static getGlobalSession()
Get the "global" session.
Definition:
SessionManager.php:106
SubmitAction
This is the same as EditAction; except that it sets the session cookie.
Definition:
SubmitAction.php:28
EditAction
Page edition handler (action=edit)
Definition:
EditAction.php:28
includes
actions
SubmitAction.php
Generated on Thu Dec 19 2019 14:54:01 for MediaWiki by
1.8.16