Page MenuHomePhabricator

Add block functionality in pywikibot (
Open, LowPublic


Version: core-(2.0)
Severity: normal

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:13 AM
bzimport set Reference to bz64835.
bzimport added a subscriber: Unknown Object (????).

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)

core has Site.blocks() which lists all blocks with parameters:


What functionality is needed?

jayvdb edited projects, added Pywikibot-compat-to-core; removed Pywikibot-General.
jayvdb set Security to None.
jayvdb removed a subscriber: Unknown Object (????).

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

Xqt triaged this task as Low priority.Mar 18 2016, 2:44 PM

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 readable list of users and pass them into a script which mass blocks them. Any progress towards any form of block/unblock script yet?

Xqt removed Xqt as the assignee of this task.May 23 2020, 4:13 PM
Xqt removed a project: Patch-For-Review.
Xqt added a subscriber: Xqt.