|
MediaWiki
REL1_23
|
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. | |
| 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 | |
| $opts | |
Special:Contributions, show user contributions in a paged list.
Definition at line 29 of file SpecialContributions.php.
Definition at line 32 of file SpecialContributions.php.
| SpecialContributions::contributionsSub | ( | $ | userObj | ) | [protected] |
Generates the subheading with links.
| $userObj | User object for the target |
Definition at line 245 of file SpecialContributions.php.
References $out, $tools, $user, array(), SpecialPage\getLanguage(), SpecialPage\getOutput(), getUserLinks(), in, User\isIP(), Linker\link(), LogEventsList\showLogExtract(), Block\TYPE_AUTO, and wfEscapeWikiText().
Referenced by execute().
| SpecialContributions::execute | ( | $ | subPage | ) |
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
| string | null | $subPage |
Reimplemented from SpecialPage.
Definition at line 36 of file SpecialContributions.php.
References $out, $user, SpecialPage\addFeedLinks(), array(), contributionsSub(), false, SpecialPage\getContext(), getForm(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getSkin(), SpecialPage\getUser(), SpecialPage\including(), IP\isIPAddress(), Title\makeTitleSafe(), SpecialPage\msg(), User\newFromName(), SpecialPage\outputHeader(), SpecialPage\setHeaders(), wfAppendQuery(), wfGetLB(), wfRunHooks(), and wfScript().
| SpecialContributions::getForm | ( | ) | [protected] |
Generates the namespace selector form with hidden attributes.
Definition at line 386 of file SpecialContributions.php.
Referenced by execute().
| SpecialContributions::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 635 of file SpecialContributions.php.
| 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 303 of file SpecialContributions.php.
Referenced by contributionsSub().
SpecialContributions::$opts [protected] |
Definition at line 30 of file SpecialContributions.php.