DeletedContributionsPage Class Reference

Inherits SpecialPage.

List of all members.

Public Member Functions

 __construct ()
 execute ($par)
 Special page "deleted user contributions".
 getSubTitle ($nt, $id)
 Generates the subheading with links.
 getForm ($options)
 Generates the namespace selector form with hidden attributes.


Detailed Description

Definition at line 239 of file SpecialDeletedContributions.php.


Constructor & Destructor Documentation

DeletedContributionsPage::__construct (  ) 

Definition at line 240 of file SpecialDeletedContributions.php.


Member Function Documentation

DeletedContributionsPage::execute ( par  ) 

Special page "deleted user contributions".

Shows a list of the deleted contributions of a user.

Returns:
none
Parameters:
$par String: (optional) user name of the user for which to show the contributions

Reimplemented from SpecialPage.

Definition at line 252 of file SpecialDeletedContributions.php.

References $options, $wgLang, $wgOut, $wgRequest, $wgUser, SpecialPage::displayRestrictionError(), getForm(), getSubTitle(), User::idFromName(), IP::isIPAddress(), Title::makeTitleSafe(), SpecialPage::setHeaders(), SpecialPage::userCanExecute(), wfEmptyMsg(), wfMsgExt(), and wfMsgNoTrans().

DeletedContributionsPage::getForm ( options  ) 

Generates the namespace selector form with hidden attributes.

Parameters:
$options Array: the options to be included.

Definition at line 447 of file SpecialDeletedContributions.php.

References $name, $options, $wgRequest, $wgScript, Xml::closeElement(), Xml::element(), SpecialPage::getTitleFor(), Xml::hidden(), Html::input(), Xml::label(), Xml::namespaceSelector(), Xml::openElement(), Xml::submitButton(), Xml::tags(), wfMsg(), and wfMsgExt().

Referenced by execute().

DeletedContributionsPage::getSubTitle ( nt,
id 
)

Generates the subheading with links.

Parameters:
Title $nt
See also:
Title object for the target
Parameters:
integer $id User ID for the target
Returns:
String: appropriately-escaped HTML to be output literally
Todo:
Fixme: almost the same as contributionsSub in SpecialContributions.php. Could be combined.

Definition at line 336 of file SpecialDeletedContributions.php.

References $wgLang, $wgOut, $wgSysopUserBans, $wgUser, SpecialPage::getTitleFor(), IP::isIPAddress(), User::newFromId(), User::newFromName(), LogEventsList::showLogExtract(), wfEmptyMsg(), wfMsg(), wfMsgHtml(), and wfRunHooks().

Referenced by execute().


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

Generated on Sat Apr 30 22:57:36 2011 for MediaWiki by  doxygen 1.5.9