List of steps to reproduce (step by step, including full links if applicable):
- Block a range on the wiki (say 8.0.0.0/24)
- Use pywikibot to load this range as a 'user' and check if it is blocked:
import pywikibot site = pywikibot.Site('test') # or whatever site you are using ip_range = '8.0.0.0/24' # or whatever range you decided to block target = pywikibot.User(site, ip_range) target.isBlocked() # returns False
What happens?:
isBlocked() returns False
What should have happened instead?:
isBloced() should return True
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.: I discovered it in 90740c9d3e16e97e47d81e4b5db2f1769683cb09 but it seems to be in issue in latest master HEAD too.