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

Huji created this task.Jul 29 2019, 10:19 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptJul 29 2019, 10:19 PM

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 Normal priority.Jul 30 2019, 1:06 AM
Xqt added a subscriber: Xqt.Jul 30 2019, 1:11 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