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)