MediaWiki
REL1_19
|
Special page allowing users with the appropriate permissions to merge article histories, with some restrictions. More...
Public Member Functions | |
__construct () | |
execute ($par) | |
Default execute method Checks user permissions, calls the function given in mFunction. | |
formatRevisionRow ($row) | |
merge () | |
preCacheMessages () | |
As we use the same small set of messages in various methods and that they are called often, we call them once and save them in $this->message. | |
showMergeForm () | |
Public Attributes | |
$mAction | |
$mComment | |
$mDest | |
$mDestID | |
$mDestObj | |
$mTarget | |
$mTargetID | |
$mTargetObj | |
$mTimestamp | |
Private Member Functions | |
loadRequestParams () | |
showHistory () |
Special page allowing users with the appropriate permissions to merge article histories, with some restrictions.
Definition at line 30 of file SpecialMergeHistory.php.
Definition at line 38 of file SpecialMergeHistory.php.
SpecialMergeHistory::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 83 of file SpecialMergeHistory.php.
References SpecialPage\checkPermissions(), SpecialPage\checkReadOnly(), SpecialPage\getOutput(), loadRequestParams(), merge(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), showHistory(), showMergeForm(), wfEscapeWikiText(), and wfMsgExt().
Definition at line 245 of file SpecialMergeHistory.php.
References $comment, $size, Revision\DELETED_TEXT, Linker\formatRevisionSize(), SpecialPage\getLanguage(), Linker\linkKnown(), Xml\radio(), Linker\revComment(), Linker\revUserTools(), and wfTimestamp().
SpecialMergeHistory::loadRequestParams | ( | ) | [private] |
Definition at line 45 of file SpecialMergeHistory.php.
References SpecialPage\getRequest(), SpecialPage\getUser(), Title\newFromURL(), and preCacheMessages().
Referenced by execute().
Definition at line 290 of file SpecialMergeHistory.php.
References $comment, $count, WikiPage\factory(), MagicWord\get(), SpecialPage\getOutput(), Title\newFromID(), wfGetDB(), wfMsgExt(), wfMsgForContent(), wfRunHooks(), and wfTimestamp().
Referenced by execute().
As we use the same small set of messages in various methods and that they are called often, we call them once and save them in $this->message.
Definition at line 76 of file SpecialMergeHistory.php.
References wfMsgExt().
Referenced by loadRequestParams().
SpecialMergeHistory::showHistory | ( | ) | [private] |
Definition at line 162 of file SpecialMergeHistory.php.
References $out, Xml\closeElement(), SpecialPage\getOutput(), SpecialPage\getTitle(), SpecialPage\getUser(), Html\hidden(), Xml\input(), Xml\label(), LogPage\logName(), Xml\openElement(), LogEventsList\showLogExtract(), showMergeForm(), Xml\submitButton(), wfMsg(), wfMsgExt(), and wfMsgHtml().
Referenced by execute().
Definition at line 131 of file SpecialMergeHistory.php.
References $wgScript, Xml\closeElement(), Xml\element(), SpecialPage\getOutput(), SpecialPage\getTitle(), Html\hidden(), Xml\input(), Xml\label(), Xml\openElement(), Xml\submitButton(), and wfMsg().
Referenced by execute(), and showHistory().
SpecialMergeHistory::$mAction |
Definition at line 31 of file SpecialMergeHistory.php.
SpecialMergeHistory::$mComment |
Definition at line 31 of file SpecialMergeHistory.php.
SpecialMergeHistory::$mDest |
Definition at line 31 of file SpecialMergeHistory.php.
SpecialMergeHistory::$mDestID |
Definition at line 31 of file SpecialMergeHistory.php.
SpecialMergeHistory::$mDestObj |
Definition at line 36 of file SpecialMergeHistory.php.
SpecialMergeHistory::$mTarget |
Definition at line 31 of file SpecialMergeHistory.php.
SpecialMergeHistory::$mTargetID |
Definition at line 31 of file SpecialMergeHistory.php.
SpecialMergeHistory::$mTargetObj |
Definition at line 36 of file SpecialMergeHistory.php.
SpecialMergeHistory::$mTimestamp |
Definition at line 31 of file SpecialMergeHistory.php.