MediaWiki  REL1_24
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.
 showForm ($err)
 Show the form.
 showLogFragment ($title)
 showSubpages ($title)

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'.

Protected Attributes

bool $deleteAndMove
 *
bool $fixRedirects
 *
bool $leaveRedirect
 *
bool $moveOverShared
 *
bool $moveSubpages
 *
bool $moveTalk
 *
Title $newTitle
 *
Title $oldTitle
 *
string $reason
 Text input *.

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 53 of file SpecialMovepage.php.


Member Function Documentation

Definition at line 474 of file SpecialMovepage.php.

MovePageForm::execute ( subPage)

Default execute method Checks user permissions.

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

Parameters:
string | null$subPage

Reimplemented from SpecialPage.

Definition at line 57 of file SpecialMovepage.php.

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 765 of file SpecialMovepage.php.

References $link, $out, and Linker\link().

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 124 of file SpecialMovepage.php.

Definition at line 730 of file SpecialMovepage.php.

References $out.

Definition at line 737 of file SpecialMovepage.php.


Member Data Documentation

bool MovePageForm::$deleteAndMove [protected]

*

Definition at line 41 of file SpecialMovepage.php.

bool MovePageForm::$fixRedirects [protected]

*

Definition at line 45 of file SpecialMovepage.php.

bool MovePageForm::$leaveRedirect [protected]

*

Definition at line 47 of file SpecialMovepage.php.

bool MovePageForm::$moveOverShared [protected]

*

Definition at line 49 of file SpecialMovepage.php.

bool MovePageForm::$moveSubpages [protected]

*

Definition at line 43 of file SpecialMovepage.php.

bool MovePageForm::$moveTalk [protected]

*

Definition at line 39 of file SpecialMovepage.php.

Title MovePageForm::$newTitle [protected]

*

Definition at line 32 of file SpecialMovepage.php.

Title MovePageForm::$oldTitle [protected]

*

Definition at line 30 of file SpecialMovepage.php.

string MovePageForm::$reason [protected]

Text input *.

Definition at line 35 of file SpecialMovepage.php.

MovePageForm::$watch = false [private]

Definition at line 51 of file SpecialMovepage.php.


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