22 $count = $this->contributionsLookup->getContributionCount( $target, $this->
getAuthority(), $tag );
23 $response = [
'count' => $count ];
30 self::PARAM_SOURCE =>
'query',
36 if ( $this->me ===
false ) {
38 self::PARAM_SOURCE =>
'path',
41 UserDef::PARAM_RETURN_OBJECT =>
true,
42 UserDef::PARAM_ALLOWED_USER_TYPES => [
'name',
'ip' ],