MediaWiki
REL1_22
|
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 | |
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 |
A special page that allows users to change page titles.
Definition at line 29 of file SpecialMovepage.php.
Definition at line 41 of file SpecialMovepage.php.
Definition at line 446 of file SpecialMovepage.php.
References $count, $dbr, $error, $file, $link, $out, $reason, $success, $user, array(), as, bug, WatchAction\doWatchOrUnwatch(), StringUtils\escapeRegexReplacement(), WikiPage\factory(), DoubleRedirectJob\fixRedirects(), ContentHandler\getForTitle(), SpecialPage\getOutput(), SpecialPage\getUser(), global, MWNamespace\hasSubpages(), Linker\link(), Linker\linkKnown(), Title\makeName(), Title\makeTitleSafe(), SpecialPage\msg(), TitleArray\newFromResult(), params, showForm(), RepoGroup\singleton(), wfFindFile(), wfGetDB(), wfLocalFile(), and wfRunHooks().
Referenced by execute().
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
$subPage | string|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'.
Reimplemented from SpecialPage.
Definition at line 731 of file SpecialMovepage.php.
MovePageForm::showForm | ( | $ | err | ) |
Show the form.
array | $err | 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 112 of file SpecialMovepage.php.
Referenced by doSubmit(), and execute().
MovePageForm::showLogFragment | ( | $ | title | ) |
Definition at line 696 of file SpecialMovepage.php.
References $out, $title, Xml\element(), SpecialPage\getOutput(), and LogEventsList\showLogExtract().
MovePageForm::showSubpages | ( | $ | title | ) |
Definition at line 703 of file SpecialMovepage.php.
References $count, $link, $out, $title, array(), as, SpecialPage\getLanguage(), SpecialPage\getOutput(), MWNamespace\hasSubpages(), and Linker\link().
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.