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