Version: core-(2.0)
Severity: normal
Description
Details
- Reference
- bz64835
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Some compat apispec functionality could be used in core | pywikibot/core | master | +16 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T72936 Important tasks to be solved (tracking) | |||
Open | Feature | None | T57880 Functionality existing in compat but missing from core (tracking) | ||
Open | None | T66835 Add block functionality in pywikibot (apispec.py) |
Event Timeline
To add a little more, compat's apispec is a very large library around action=query, list=blocks , but it is *unused* in compat (according to $ git grep apispec)
http://en.wikipedia.org/w/api.php?action=query&list=blocks
core has Site.blocks() which lists all blocks with parameters:
starttime=None endtime=None reverse=False blockids=None users=None step=None total=None
What functionality is needed?
At least, unblock. For example, when having a list of lots of IP addresses that were infinite blocked that I want to unblock
Change 267435 had a related patch set uploaded (by Xqt):
Add some functionality from compat apispec to core
Change 267435 merged by jenkins-bot:
[pywikibot/core@master] Some compat apispec functionality could be used in core
I wish that in the future I can get a delete.py readable list of users and pass them into a block.py script which mass blocks them. Any progress towards any form of block/unblock script yet?