MediaWiki
REL1_19
|
A special page that allows users to change page titles. More...
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 |
A special page that allows users to change page titles.
Definition at line 29 of file SpecialMovepage.php.
Definition at line 40 of file SpecialMovepage.php.
Definition at line 386 of file SpecialMovepage.php.
References $count, $dbr, $file, $out, $page, $reason, $success, $user, $wgDeleteRevisionsLimit, $wgFixDoubleRedirects, $wgMaximumMovedPages, StringUtils\escapeRegexReplacement(), WikiPage\factory(), DoubleRedirectJob\fixRedirects(), SpecialPage\getLanguage(), SpecialPage\getOutput(), SpecialPage\getUser(), MWNamespace\hasSubpages(), Linker\link(), Linker\linkKnown(), Title\makeName(), Title\makeTitleSafe(), TitleArray\newFromResult(), showForm(), RepoGroup\singleton(), wfEscapeWikiText(), wfFindFile(), wfGetDB(), wfLocalFile(), wfMessage(), wfMsg(), wfMsgExt(), wfMsgHtml(), and wfRunHooks().
Referenced by execute().
MovePageForm::execute | ( | $ | par | ) |
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
$par | String 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().
MovePageForm::showForm | ( | $ | err | ) |
Show the form.
$err | Array: 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().
MovePageForm::showLogFragment | ( | $ | title | ) |
Definition at line 623 of file SpecialMovepage.php.
References $out, $title, Xml\element(), SpecialPage\getOutput(), LogPage\logName(), and LogEventsList\showLogExtract().
Referenced by showForm().
MovePageForm::showSubpages | ( | $ | title | ) |
Definition at line 629 of file SpecialMovepage.php.
References $count, $out, $title, SpecialPage\getLanguage(), SpecialPage\getOutput(), MWNamespace\hasSubpages(), and Linker\link().
Referenced by showForm().
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.