Page MenuHomePhabricator

Implement pywikibot support for adding thanks to comments on flow boards
Closed, ResolvedPublic


I will rewrite the following description as needed.

Flow extension provides a discussion and collaboration system for talk pages. When the Flow extension is installed and Flow is enabled on a page, the page becomes a Flow board, i.e, the content model property changes to 'flow-board'. If Flow is installed along with its dependencies, the thank link for the corresponding user is available under comments on the Flow boards, clicking which will have the same effect of sending the user Echo Notifications. The corresponding class which needs to be implemented in pywikibot, along with proper testing, is ApiFlowThank (which extends ApiThank). This API is different from ApiRevThank, as it is called by action=flowthank, with parameters postid and token.

Event Timeline

Restricted Application added a subscriber: Zppix. · View Herald TranscriptMay 16 2016, 5:51 PM
darthbhyrava updated the task description. (Show Details)May 16 2016, 5:58 PM
darthbhyrava moved this task from Backlog to Thanks on the Pywikibot-Flow board.May 16 2016, 7:41 PM

Change 295132 had a related patch set uploaded (by Darthbhyrava):
Implement pywikibot support for adding thanks to comments on flow boards

The requirement for reproducibility was to extract the most recently updated post, not the newest one. However, while adding the parameter sort_by='updated' for flow.topics, it is throwing up errors, hence for now, I have persisted with the default sort_by='newest'

Please see T138215.

happy5214 updated the task description. (Show Details)
happy5214 added a subscriber: happy5214.

Change 362324 had a related patch set uploaded (by Happy5214; owner: Happy5214):
[pywikibot/core@master] [WIP] Add ability to thank Flow posts

Xqt closed this task as Resolved.Aug 13 2017, 10:17 AM
Xqt triaged this task as Normal priority.

Change 362324 merged by jenkins-bot:
[pywikibot/core@master] Add ability for Pywikibot to thank Flow posts