MergehistoryForm Class Reference
[SpecialPage]

The HTML form for Special:MergeHistory, which allows users with the appropriate permissions to view and restore deleted content. More...

List of all members.

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 ()


Detailed Description

The HTML form for Special:MergeHistory, which allows users with the appropriate permissions to view and restore deleted content.

Definition at line 25 of file SpecialMergeHistory.php.


Member Function Documentation

MergehistoryForm::execute (  ) 

MergehistoryForm::formatRevisionRow ( row  ) 

MergehistoryForm::getPageLink ( row,
titleObj,
ts,
target 
)

Fetch revision text link if it's available to all users.

Returns:
string

Definition at line 258 of file SpecialMergeHistory.php.

References $row, $ts, $wgLang, and Revision::DELETED_TEXT.

MergehistoryForm::merge (  ) 

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]

MergehistoryForm::showMergeForm (  ) 


Member Data Documentation

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.


The documentation for this class was generated from the following file:

Generated on Sat Sep 5 02:08:42 2009 for MediaWiki by  doxygen 1.5.9