Public Member Functions | |
MergehistoryForm ($request, $par="") | |
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. | |
execute () | |
showMergeForm () | |
formatRevisionRow ($row) | |
getPageLink ($row, $titleObj, $ts, $target) | |
Fetch revision text link if it's available to all users. | |
merge () | |
Public Attributes | |
$mAction | |
$mTarget | |
$mDest | |
$mTimestamp | |
$mTargetID | |
$mDestID | |
$mComment | |
$mTargetObj | |
$mDestObj | |
Private Member Functions | |
showHistory () |
Definition at line 25 of file SpecialMergeHistory.php.
MergehistoryForm::execute | ( | ) |
Definition at line 69 of file SpecialMergeHistory.php.
References $wgOut, $wgUser, merge(), showHistory(), showMergeForm(), wfEscapeWikiText(), wfMsgExt(), and wfMsgHtml().
MergehistoryForm::formatRevisionRow | ( | $ | row | ) |
Definition at line 220 of file SpecialMergeHistory.php.
References $row, $size, $ts, $wgLang, $wgUser, Revision::DELETED_TEXT, Xml::radio(), and wfTimestamp().
MergehistoryForm::getPageLink | ( | $ | row, | |
$ | titleObj, | |||
$ | ts, | |||
$ | target | |||
) |
Fetch revision text link if it's available to all users.
Definition at line 258 of file SpecialMergeHistory.php.
References $row, $ts, $wgLang, and Revision::DELETED_TEXT.
MergehistoryForm::merge | ( | ) |
Definition at line 272 of file SpecialMergeHistory.php.
References $count, $dbw, $wgOut, $wgUser, MagicWord::get(), Title::newFromID(), wfGetDB(), wfMsgExt(), wfMsgForContent(), wfRunHooks(), and wfTimestamp().
Referenced by execute().
MergehistoryForm::MergehistoryForm | ( | $ | request, | |
$ | par = "" | |||
) |
Definition at line 29 of file SpecialMergeHistory.php.
References $wgUser, Title::newFromURL(), and preCacheMessages().
MergehistoryForm::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.
Definition at line 62 of file SpecialMergeHistory.php.
References wfMsgExt().
Referenced by MergehistoryForm().
MergehistoryForm::showHistory | ( | ) | [private] |
Definition at line 144 of file SpecialMergeHistory.php.
References $action, $wgLang, $wgOut, $wgUser, Xml::closeElement(), SpecialPage::getTitleFor(), Xml::hidden(), Xml::input(), Xml::label(), LogPage::logName(), Xml::openElement(), LogEventsList::showLogExtract(), showMergeForm(), Xml::submitButton(), wfMsg(), wfMsgExt(), and wfMsgHtml().
Referenced by execute().
MergehistoryForm::showMergeForm | ( | ) |
Definition at line 113 of file SpecialMergeHistory.php.
References $wgOut, $wgScript, Xml::closeElement(), Xml::element(), SpecialPage::getTitleFor(), Xml::hidden(), Xml::input(), Xml::label(), Xml::openElement(), Xml::submitButton(), and wfMsg().
Referenced by execute(), and showHistory().
MergehistoryForm::$mAction |
Definition at line 26 of file SpecialMergeHistory.php.
MergehistoryForm::$mComment |
Definition at line 26 of file SpecialMergeHistory.php.
MergehistoryForm::$mDest |
Definition at line 26 of file SpecialMergeHistory.php.
MergehistoryForm::$mDestID |
Definition at line 26 of file SpecialMergeHistory.php.
MergehistoryForm::$mDestObj |
Definition at line 27 of file SpecialMergeHistory.php.
MergehistoryForm::$mTarget |
Definition at line 26 of file SpecialMergeHistory.php.
MergehistoryForm::$mTargetID |
Definition at line 26 of file SpecialMergeHistory.php.
MergehistoryForm::$mTargetObj |
Definition at line 27 of file SpecialMergeHistory.php.
MergehistoryForm::$mTimestamp |
Definition at line 26 of file SpecialMergeHistory.php.