Page MenuHomePhabricator

Add allowusertalk to the userblock options in pywikibot
Closed, DuplicatePublic

Description

Currently the site.userblock() function does not have a parameter for allowusertalk; consequently, all blocks made using pywikibot result in blocking the user from editing their talk page as well (because the default value for this option is true). The API has supported the allowusertalk option for many years; it is time for pywikibot to also support it.

Event Timeline

Change 526278 had a related patch set uploaded (by Huji; owner: Huji):
[pywikibot/core@master] Add allowusertalk to the userblock options in pywikibot

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

Xqt triaged this task as Medium priority.Jul 30 2019, 1:06 AM

Should also be available in User.block() method

Change 526278 merged by jenkins-bot:
[pywikibot/core@master] Add allowusertalk to the userblock options in pywikibot

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

Change 526452 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [IMPR] Add allowusertalk to the User.block() options

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

Change 526452 merged by jenkins-bot:
[pywikibot/core@master] [IMPR] Add allowusertalk to the User.block() options

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