MediaWiki
REL1_24
|
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. | |
formatRevisionRow ($row) | |
merge () | |
Actually attempt the history move. | |
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 () | |
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'. | |
Protected Attributes | |
string | $mAction |
* | |
string | $mComment |
* | |
string | $mDest |
* | |
int | $mDestID |
* | |
Title | $mDestObj |
* | |
bool | $mMerge |
Was posted? *. | |
bool | $mSubmitted |
Was submitted? *. | |
string | $mTarget |
* | |
int | $mTargetID |
* | |
Title | $mTargetObj |
* | |
string | $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 53 of file SpecialMergeHistory.php.
Referenced by loadRequestParams().
SpecialMergeHistory::execute | ( | $ | subPage | ) |
Default execute method Checks user permissions.
This must be overridden by subclasses; it will be made abstract in a future version
string | null | $subPage |
Reimplemented from SpecialPage.
Definition at line 100 of file SpecialMergeHistory.php.
Definition at line 266 of file SpecialMergeHistory.php.
SpecialMergeHistory::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 477 of file SpecialMergeHistory.php.
SpecialMergeHistory::loadRequestParams | ( | ) | [private] |
Actually attempt the history move.
Definition at line 327 of file SpecialMergeHistory.php.
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 93 of file SpecialMergeHistory.php.
SpecialMergeHistory::showHistory | ( | ) | [private] |
Definition at line 179 of file SpecialMergeHistory.php.
Definition at line 150 of file SpecialMergeHistory.php.
string SpecialMergeHistory::$mAction [protected] |
*
Definition at line 31 of file SpecialMergeHistory.php.
string SpecialMergeHistory::$mComment [protected] |
*
Definition at line 43 of file SpecialMergeHistory.php.
string SpecialMergeHistory::$mDest [protected] |
*
Definition at line 35 of file SpecialMergeHistory.php.
int SpecialMergeHistory::$mDestID [protected] |
*
Definition at line 41 of file SpecialMergeHistory.php.
Title SpecialMergeHistory::$mDestObj [protected] |
*
Definition at line 51 of file SpecialMergeHistory.php.
bool SpecialMergeHistory::$mMerge [protected] |
Was posted? *.
Definition at line 45 of file SpecialMergeHistory.php.
bool SpecialMergeHistory::$mSubmitted [protected] |
Was submitted? *.
Definition at line 47 of file SpecialMergeHistory.php.
string SpecialMergeHistory::$mTarget [protected] |
*
Definition at line 33 of file SpecialMergeHistory.php.
int SpecialMergeHistory::$mTargetID [protected] |
*
Definition at line 39 of file SpecialMergeHistory.php.
Title SpecialMergeHistory::$mTargetObj [protected] |
*
Definition at line 49 of file SpecialMergeHistory.php.
string SpecialMergeHistory::$mTimestamp [protected] |
*
Definition at line 37 of file SpecialMergeHistory.php.