[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Implements Special:Contributions This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
File Size: | 1153 lines (34 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
SpecialContributions:: (6 methods):
__construct()
execute()
contributionsSub()
getUserLinks()
getForm()
getGroupName()
ContribsPager:: (14 methods):
__construct()
getDefaultQuery()
reallyDoQuery()
getQueryInfo()
getUserCond()
getNamespaceCond()
getIndexField()
doBatchLookups()
getStartBody()
getEndBody()
formatRow()
getSqlComment()
preventClickjacking()
getPreventClickjacking()
Class: SpecialContributions - X-Ref
Special:Contributions, show user contributions in a paged list__construct() X-Ref |
No description |
execute( $par ) X-Ref |
No description |
contributionsSub( $userObj ) X-Ref |
Generates the subheading with links param: User $userObj User object for the target return: string Appropriately-escaped HTML to be output literally |
getUserLinks( Title $userpage, Title $talkpage, User $target ) X-Ref |
Links to different places. param: Title $userpage Target user page param: Title $talkpage Talk page param: User $target Target user object return: array |
getForm() X-Ref |
Generates the namespace selector form with hidden attributes. return: string HTML fragment |
getGroupName() X-Ref |
No description |
Class: ContribsPager - X-Ref
Pager for Special:Contributions__construct( IContextSource $context, array $options ) X-Ref |
getDefaultQuery() X-Ref |
No description |
reallyDoQuery( $offset, $limit, $descending ) X-Ref |
This method basically executes the exact same code as the parent class, though with a hook added, to allow extentions to add additional queries. param: string $offset Index offset, inclusive param: int $limit Exact query limit param: bool $descending Query direction, false for ascending, true for descending return: ResultWrapper |
getQueryInfo() X-Ref |
No description |
getUserCond() X-Ref |
No description |
getNamespaceCond() X-Ref |
No description |
getIndexField() X-Ref |
No description |
doBatchLookups() X-Ref |
No description |
getStartBody() X-Ref |
return: string |
getEndBody() X-Ref |
return: string |
formatRow( $row ) X-Ref |
Generates each row in the contributions list. Contributions which are marked "top" are currently on top of the history. For these contributions, a [rollback] link is shown for users with roll- back privileges. The rollback link restores the most recent version that was not written by the target user. param: object $row return: string |
getSqlComment() X-Ref |
Overwrite Pager function and return a helpful comment return: string |
preventClickjacking() X-Ref |
No description |
getPreventClickjacking() X-Ref |
return: bool |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |