|
| __construct (RevisionStore $revisionStore, LinkRendererFactory $linkRendererFactory, LinkBatchFactory $linkBatchFactory, HookContainer $hookContainer, IConnectionProvider $dbProvider, NamespaceInfo $namespaceInfo, CommentFormatter $commentFormatter) |
|
| getContributionCount (UserIdentity $user, Authority $performer, $tag=null) |
| Returns the number of edits by the given user. More...
|
|
| getContributions (UserIdentity $target, int $limit, Authority $performer, string $segment='', string $tag=null) |
|
- Since
- 1.35
Definition at line 23 of file ContributionsLookup.php.
◆ __construct()
◆ getContributionCount()
MediaWiki\Revision\ContributionsLookup::getContributionCount |
( |
UserIdentity |
$user, |
|
|
Authority |
$performer, |
|
|
|
$tag = null |
|
) |
| |
Returns the number of edits by the given user.
- Parameters
-
UserIdentity | $user | |
Authority | $performer | the user used for permission checks |
string | null | $tag | |
- Returns
- int
Definition at line 235 of file ContributionsLookup.php.
◆ getContributions()
MediaWiki\Revision\ContributionsLookup::getContributions |
( |
UserIdentity |
$target, |
|
|
int |
$limit, |
|
|
Authority |
$performer, |
|
|
string |
$segment = '' , |
|
|
string |
$tag = null |
|
) |
| |
- Parameters
-
UserIdentity | $target | the user from whom to retrieve contributions |
int | $limit | the maximum number of revisions to return |
Authority | $performer | the user used for permission checks |
string | $segment | |
string | null | $tag | |
- Returns
- ContributionsSegment
Definition at line 116 of file ContributionsLookup.php.
The documentation for this class was generated from the following file: