MovePageForm Class Reference
[SpecialPage]

HTML form for Special:Movepage. More...

List of all members.

Public Member Functions

 __construct ($oldTitle, $newTitle)
 showForm ($err)
 Show the form.
 doSubmit ()
 showLogFragment ($title, &$out)
 showSubpages ($title, $out)

Public Attributes

 $oldTitle
 $newTitle
 $reason
 $moveTalk
 $deleteAndMove
 $moveSubpages
 $fixRedirects
 $leaveRedirect

Private Attributes

 $watch = false


Detailed Description

HTML form for Special:Movepage.

Definition at line 56 of file SpecialMovepage.php.


Constructor & Destructor Documentation

MovePageForm::__construct ( oldTitle,
newTitle 
)

Definition at line 63 of file SpecialMovepage.php.

References $newTitle, $oldTitle, and $wgRequest.


Member Function Documentation

MovePageForm::doSubmit (  ) 

MovePageForm::showForm ( err  ) 

Show the form.

Parameters:
mixed $err Error message. May either be a string message name or array message name and parameters, like the second argument to OutputPage::wrapWikiMsg().

Definition at line 89 of file SpecialMovepage.php.

References $dbr, $newTitle, $wgFixDoubleRedirects, $wgLang, $wgMaximumMovedPages, $wgOut, $wgUser, Xml::checkLabel(), Xml::closeElement(), Xml::element(), SpecialPage::getTitleFor(), Xml::hidden(), Xml::input(), Xml::label(), Xml::openElement(), showLogFragment(), showSubpages(), Xml::submitButton(), Xml::tags(), wfGetDB(), wfMsg(), wfMsgExt(), and wfMsgHtml().

Referenced by doSubmit().

MovePageForm::showLogFragment ( title,
&$  out 
)

Definition at line 497 of file SpecialMovepage.php.

References $out, $title, Xml::element(), LogPage::logName(), and LogEventsList::showLogExtract().

Referenced by showForm().

MovePageForm::showSubpages ( title,
out 
)

Definition at line 502 of file SpecialMovepage.php.

References $count, $out, $title, $wgLang, $wgUser, and MWNamespace::hasSubpages().

Referenced by showForm().


Member Data Documentation

MovePageForm::$deleteAndMove

Definition at line 59 of file SpecialMovepage.php.

MovePageForm::$fixRedirects

Definition at line 59 of file SpecialMovepage.php.

MovePageForm::$leaveRedirect

Definition at line 59 of file SpecialMovepage.php.

MovePageForm::$moveSubpages

Definition at line 59 of file SpecialMovepage.php.

MovePageForm::$moveTalk

Definition at line 59 of file SpecialMovepage.php.

MovePageForm::$newTitle

Definition at line 57 of file SpecialMovepage.php.

Referenced by __construct(), and showForm().

MovePageForm::$oldTitle

Definition at line 57 of file SpecialMovepage.php.

Referenced by __construct().

MovePageForm::$reason

Definition at line 58 of file SpecialMovepage.php.

MovePageForm::$watch = false [private]

Definition at line 61 of file SpecialMovepage.php.


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

Generated on Sat Sep 5 02:08:42 2009 for MediaWiki by  doxygen 1.5.9