MediaWiki
REL1_19
|
Special:Contributions, show user contributions in a paged list. More...
Public Member Functions | |
__construct () | |
execute ($par) | |
Default execute method Checks user permissions, calls the function given in mFunction. | |
getUserLinks (Title $userpage, Title $talkpage, User $target) | |
Links to different places. | |
Protected Member Functions | |
contributionsSub ($userObj) | |
Generates the subheading with links. | |
getForm () | |
Generates the namespace selector form with hidden attributes. | |
Protected Attributes | |
$opts |
Special:Contributions, show user contributions in a paged list.
Definition at line 30 of file SpecialContributions.php.
Definition at line 34 of file SpecialContributions.php.
Referenced by ContribsPager\__construct().
SpecialContributions::contributionsSub | ( | $ | userObj | ) | [protected] |
Generates the subheading with links.
$userObj | User object for the target |
Definition at line 222 of file SpecialContributions.php.
References $out, $user, SpecialPage\getLanguage(), SpecialPage\getOutput(), getUserLinks(), Linker\link(), SpecialPage\msg(), and LogEventsList\showLogExtract().
Referenced by execute().
SpecialContributions::execute | ( | $ | par | ) |
Default execute method Checks user permissions, calls the function given in mFunction.
This must be overridden by subclasses; it will be made abstract in a future version
$par | String subpage string, if one was specified |
Reimplemented from SpecialPage.
Definition at line 38 of file SpecialContributions.php.
References $out, $url, $user, SpecialPage\addFeedLinks(), contributionsSub(), false, SpecialPage\getContext(), getForm(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getSkin(), SpecialPage\getUser(), IP\isIPAddress(), Title\makeTitleSafe(), SpecialPage\msg(), User\newFromName(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), wfArrayToCGI(), wfGetLB(), wfRunHooks(), and wfScript().
SpecialContributions::getForm | ( | ) | [protected] |
Generates the namespace selector form with hidden attributes.
Definition at line 349 of file SpecialContributions.php.
References $wgScript, ChangeTags\buildTagFilterSelector(), Xml\checkLabel(), Xml\closeElement(), Xml\dateMenu(), Xml\fieldset(), SpecialPage\getTitle(), Html\hidden(), Html\input(), Xml\label(), SpecialPage\msg(), Xml\namespaceSelector(), Xml\openElement(), Xml\radioLabel(), Html\rawElement(), Xml\submitButton(), and Xml\tags().
Referenced by execute().
SpecialContributions::getUserLinks | ( | Title $ | userpage, |
Title $ | talkpage, | ||
User $ | target | ||
) |
Links to different places.
$userpage | Title: Target user page |
$talkpage | Title: Talk page |
$target | User: Target user object |
Definition at line 276 of file SpecialContributions.php.
References SpecialPage\getContext(), User\getId(), User\getName(), Title\getPrefixedText(), SpecialPage\getTitleFor(), SpecialPage\getUser(), User\isBlocked(), IP\isIPAddress(), Linker\link(), Linker\linkKnown(), SpecialPage\msg(), and wfRunHooks().
Referenced by contributionsSub().
SpecialContributions::$opts [protected] |
Definition at line 32 of file SpecialContributions.php.