Huji created this task.
Huji added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**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('en') # 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
<https://phabricator.wikimedia.org/rPWBC90740c9d3e16e97e47d81e4b5db2f1769683cb09>
but it seems to be in issue in latest master HEAD too.
TASK DETAIL
https://phabricator.wikimedia.org/T301282
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Huji
Cc: Aklapper, pywikibot-bugs-list, Xqt, Huji, Jyoo1011, JohnsonLee01, SHEKH,
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89,
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]