betacommand suggested to use list=blocks with bkusers or bkip and that
works fine
On Sun, Apr 13, 2014 at 9:47 PM, Oliver Keyes <okeyes(a)wikimedia.org> wrote:
What Alex said. Alternately you can also use
list=users&usprop=blockinfo.
In both cases, it's a simple yes/no in the sense that the presence of a
returned 'blockinfo' element indicates the user is blocked.
On 13 April 2014 08:44, Alex Monk <krenair(a)gmail.com> wrote:
Won't meta=userinfo&uiprop=blockinfo do
it?
On 13 April 2014 11:07, Petr Bena <benapetr(a)gmail.com> wrote:
I was trying to detect it using api, but I
figured out that list=user
which can do that, doesn't work on IP's.
what could work is list=blocks but that doesn't return if block is
active or not, it just list all of them.
I need to get a simple "yes/no" result, is there any way to do that?
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
Oliver Keyes
Research Analyst
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l