MediaWiki  master
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
37 
38  parent::show();
39  }
40 }
Page edition handler (action=edit)
Definition: EditAction.php:32
static getGlobalSession()
If PHP's session_id() has been set, returns that session.
This is the same as EditAction; except that it sets the session cookie.