MediaWiki  REL1_19
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
 $newTitle
 $oldTitle
 $reason

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


Member Function Documentation

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:
$parString subpage string, if one was specified

Reimplemented from SpecialPage.

Definition at line 44 of file SpecialMovepage.php.

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

Here is the call graph for this function:

Show the form.

Parameters:
$errArray: error 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 111 of file SpecialMovepage.php.

References $dbr, $newTitle, $out, $user, $wgContLang, $wgFixDoubleRedirects, $wgMaximumMovedPages, Xml\check(), Xml\checkLabel(), Xml\closeElement(), Xml\element(), Html\element(), SpecialPage\getLanguage(), SpecialPage\getOutput(), SpecialPage\getSkin(), SpecialPage\getTitle(), SpecialPage\getUser(), Html\hidden(), Xml\input(), Xml\label(), Linker\link(), SpecialPage\msg(), Html\namespaceSelector(), Xml\openElement(), LogEventsList\showLogExtract(), showLogFragment(), showSubpages(), Xml\submitButton(), Xml\tags(), wfGetDB(), wfMsg(), wfMsgExt(), and wfMsgHtml().

Referenced by doSubmit(), and execute().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 623 of file SpecialMovepage.php.

References $out, $title, Xml\element(), SpecialPage\getOutput(), LogPage\logName(), and LogEventsList\showLogExtract().

Referenced by showForm().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 629 of file SpecialMovepage.php.

References $count, $out, $title, SpecialPage\getLanguage(), SpecialPage\getOutput(), MWNamespace\hasSubpages(), and Linker\link().

Referenced by showForm().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

MovePageForm::$deleteAndMove

Definition at line 36 of file SpecialMovepage.php.

MovePageForm::$fixRedirects

Definition at line 36 of file SpecialMovepage.php.

MovePageForm::$leaveRedirect

Definition at line 36 of file SpecialMovepage.php.

MovePageForm::$moveOverShared

Definition at line 36 of file SpecialMovepage.php.

MovePageForm::$moveSubpages

Definition at line 36 of file SpecialMovepage.php.

MovePageForm::$moveTalk

Definition at line 36 of file SpecialMovepage.php.

MovePageForm::$newTitle

Definition at line 34 of file SpecialMovepage.php.

Referenced by showForm().

MovePageForm::$oldTitle

Definition at line 34 of file SpecialMovepage.php.

MovePageForm::$reason

Definition at line 35 of file SpecialMovepage.php.

Referenced by doSubmit().

MovePageForm::$watch = false [private]

Definition at line 38 of file SpecialMovepage.php.


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