Page MenuHomePhabricator

Add block functionality in pywikibot (apispec.py)
Open, LowPublic

Description


Version: core-(2.0)
Severity: normal

Details

Reference
bz64835

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:13 AM
bzimport added a project: Pywikibot-General.
bzimport set Reference to bz64835.
bzimport added a subscriber: Unknown Object (????).
jayvdb added a comment.Sep 9 2014, 4:22 AM

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?

jayvdb updated the task description. (Show Details)Dec 5 2014, 8:55 AM
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

Mpaa added a subscriber: Mpaa.Jun 4 2015, 9:06 PM

@Ciencia_Al_Poder, agree, I had the same need once

Xqt claimed this task.Jan 30 2016, 11:27 AM
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptJan 30 2016, 11:27 AM

Change 267435 had a related patch set uploaded (by Xqt):
Add some functionality from compat apispec to core

https://gerrit.wikimedia.org/r/267435

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

https://gerrit.wikimedia.org/r/267435

Sau226 added a subscriber: Sau226.Jul 18 2018, 4:53 AM

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?

D3r1ck01 moved this task from Backlog to Needs Review on the Pywikibot board.Nov 5 2018, 11:38 AM