Page MenuHomePhabricator

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

Description

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

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

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

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.

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

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

Xqt triaged this task as Medium priority.

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

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

Change 295132 abandoned by Xqt:
Implement pywikibot support for adding thanks to comments on flow boards

Reason:
already solved

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