MediaWiki  REL1_21
DeletedContributionsPage Class Reference
Inheritance diagram for DeletedContributionsPage:
Collaboration diagram for DeletedContributionsPage:

List of all members.

Public Member Functions

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

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'.

Detailed Description

Definition at line 254 of file SpecialDeletedContributions.php.


Constructor & Destructor Documentation


Member Function Documentation

Special page "deleted user contributions".

Shows a list of the deleted contributions of a user.

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

Reimplemented from SpecialPage.

Definition at line 266 of file SpecialDeletedContributions.php.

References $options, $out, $user, array(), SpecialPage\displayRestrictionError(), SpecialPage\getContext(), getForm(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getSkin(), getSubTitle(), SpecialPage\getUser(), global, IP\isIPAddress(), SpecialPage\msg(), User\newFromName(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), SpecialPage\userCanExecute(), and wfGetLB().

Generates the namespace selector form with hidden attributes.

Parameters:
array$optionsthe options to be included.
Returns:
string

Definition at line 471 of file SpecialDeletedContributions.php.

References $f, $name, $options, $value, array(), as, Xml\closeElement(), Xml\element(), SpecialPage\getTitle(), global, Html\hidden(), Html\input(), SpecialPage\msg(), Html\namespaceSelector(), Xml\openElement(), Xml\submitButton(), Xml\tags(), and text.

Referenced by execute().

Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Returns:
string
Since:
1.21

Reimplemented from SpecialPage.

Definition at line 526 of file SpecialDeletedContributions.php.

Generates the subheading with links.

Parameters:
$userObjUser object 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 351 of file SpecialDeletedContributions.php.

References $out, $tools, $user, array(), block, blocked(), SpecialPage\getContext(), SpecialPage\getLanguage(), SpecialPage\getOutput(), SpecialPage\getTitleFor(), SpecialPage\getUser(), in, is, IP\isIPAddress(), Linker\link(), Linker\linkKnown(), SpecialPage\msg(), LogEventsList\showLogExtract(), t(), and wfRunHooks().

Referenced by execute().


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