Hi,


I think you’re right to use only “auprop=blockinfo” since “aurights=block”
returns list of users who have right to block other users.



Regards,



*Kenrick*

On 29 March 2015 at 00:01, ArtGiray . <[email protected]> wrote:

> I want to get a list that "user" is *"patroller" and "blocked"*
>
> my query:
> https://en.wikipedia.org/w/api.php?rawcontinue&action=query&list=allusers&;
> *augroup=patroller&aurights=block*&aulimit=50&auprop=blockinfo
>
> but the api *returns users that is not blocked?*
>
> aurights=block is not working probably?
>
> is it bug on api or am i use wrong?
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to