MediaWiki  REL1_22
MovePageForm Class Reference

A special page that allows users to change page titles. More...

Inheritance diagram for MovePageForm:
Collaboration diagram for MovePageForm:

List of all members.

Public Member Functions

 __construct ()
 doSubmit ()
 execute ($par)
 Default execute method Checks user permissions, calls the function given in mFunction.
 showForm ($err)
 Show the form.
 showLogFragment ($title)
 showSubpages ($title)

Public Attributes

 $deleteAndMove
 $fixRedirects
 $leaveRedirect
 $moveOverShared
 $moveSubpages
 $moveTalk
Title $newTitle
Title $oldTitle
 Objects.
 $reason

Protected Member Functions

 getGroupName ()
 Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Private Attributes

 $watch = false

Detailed Description

A special page that allows users to change page titles.

Definition at line 29 of file SpecialMovepage.php.


Constructor & Destructor Documentation

Definition at line 41 of file SpecialMovepage.php.


Member Function Documentation

MovePageForm::execute ( subPage)

Default execute method Checks user permissions, calls the function given in mFunction.

This must be overridden by subclasses; it will be made abstract in a future version

Parameters:
$subPagestring|null

Reimplemented from SpecialPage.

Definition at line 45 of file SpecialMovepage.php.

References $user, array(), SpecialPage\checkReadOnly(), doSubmit(), SpecialPage\getRequest(), SpecialPage\getUser(), Title\makeTitleSafe(), Title\newFromText(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), and showForm().

MovePageForm::getGroupName ( ) [protected]

Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Returns:
string
Since:
1.21

Reimplemented from SpecialPage.

Definition at line 731 of file SpecialMovepage.php.

Show the form.

Parameters:
array$errerror messages. Each item is an error message. It may either be a string message name or array message name and parameters, like the second argument to OutputPage::wrapWikiMsg().

Definition at line 112 of file SpecialMovepage.php.

Referenced by doSubmit(), and execute().


Member Data Documentation

MovePageForm::$deleteAndMove

Definition at line 37 of file SpecialMovepage.php.

MovePageForm::$fixRedirects

Definition at line 37 of file SpecialMovepage.php.

MovePageForm::$leaveRedirect

Definition at line 37 of file SpecialMovepage.php.

MovePageForm::$moveOverShared

Definition at line 37 of file SpecialMovepage.php.

MovePageForm::$moveSubpages

Definition at line 37 of file SpecialMovepage.php.

MovePageForm::$moveTalk

Definition at line 37 of file SpecialMovepage.php.

Title MovePageForm::$newTitle

Definition at line 33 of file SpecialMovepage.php.

Title MovePageForm::$oldTitle

Objects.

Definition at line 33 of file SpecialMovepage.php.

MovePageForm::$reason

Definition at line 35 of file SpecialMovepage.php.

Referenced by doSubmit().

MovePageForm::$watch = false [private]

Definition at line 39 of file SpecialMovepage.php.


The documentation for this class was generated from the following file: