-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
There is only a read API for GlobalBlocking. While I look forward to not resorting to screenscraping when a write API is implemented, I'm proceeding with the interface available to me.
For the moment, I'm trying to figure out whether an IP has ever been blocked. While this is trivial for single IPs, it isn't for rangeblocks. The listing of *current* global blocks has the bgip parameter which makes it very easy to check for blocks currently in effect, but there is no such thing for the log. Any advice for proceeding from this point?
Thanks, - -Mike
2010/6/7 Mike.lifeguard mike.lifeguard@gmail.com:
For the moment, I'm trying to figure out whether an IP has ever been blocked. While this is trivial for single IPs, it isn't for rangeblocks. The listing of *current* global blocks has the bgip parameter which makes it very easy to check for blocks currently in effect, but there is no such thing for the log. Any advice for proceeding from this point?
You could look at how ApiQueryBlocks.php implements this feature.
Roan Kattouw (Catrope)
mediawiki-api@lists.wikimedia.org