|
| __construct (RevisionStore $revisionStore, LinkRendererFactory $linkRendererFactory, LinkBatchFactory $linkBatchFactory, HookContainer $hookContainer, ILoadBalancer $loadBalancer, ActorMigration $actorMigration, NamespaceInfo $namespaceInfo, CommentFormatter $commentFormatter) |
|
| getContributionCount (UserIdentity $user, Authority $performer, $tag=null) |
| Returns the number of edits by the given user.
|
|
| getContributions (UserIdentity $target, int $limit, Authority $performer, string $segment='', string $tag=null) |
|
- Since
- 1.35
Definition at line 24 of file ContributionsLookup.php.
◆ __construct()
- Parameters
-
RevisionStore | $revisionStore | |
LinkRendererFactory | $linkRendererFactory | |
LinkBatchFactory | $linkBatchFactory | |
HookContainer | $hookContainer | |
ILoadBalancer | $loadBalancer | |
ActorMigration | $actorMigration | |
NamespaceInfo | $namespaceInfo | |
CommentFormatter | $commentFormatter | |
Definition at line 60 of file ContributionsLookup.php.
◆ 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 243 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
- Exceptions
-
\MWException
Definition at line 124 of file ContributionsLookup.php.
The documentation for this class was generated from the following file: