Page MenuHomePhabricator

Add a machine-readable output format to articlefeedbackv5-view-feedback API
Open, LowestPublic

Description

Currently, the articlefeedbackv5-view-feedback API renders information about the feedback in HTML.

Example: http://fr.wikipedia.org/w/api.php?action=query&list=articlefeedbackv5-view-feedback&afvftitle=Stade_Pierre-Mauroy&afvffeedbackid=04ff6382d680f4a3d2e090b11c2fb49a&afvffilter=allcomment&format=jsonfm

As far as I know, the only way to programmatically retrieve the actual comment is to use this API and extract it from the HTML. But parsing HTML is difficult and the rendering can change without notice (I guess that's why MediaWiki has an API :-). It would be nice to have a more machine-readable format.


Version: unspecified
Severity: normal
URL: http://wiki256.net/articlefeedback/

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 1:52 AM
bzimport set Reference to bz51296.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for filing. I wouldn't call this an enhancement, having mixed HTML makes it a non-API.

Ah, I see you use it for an aiding tool, adding URL for context.

Jdforrester-WMF subscribed.

All development work on AbuseFilter v.5 (and indeed, previous versions) is halted. The project is archived, so having open tasks is inappropriate. Consequently, I'm closing all tasks.

SamanthaNguyen moved this task from Backlog to Feature Requests on the ArticleFeedbackv5 board.
SamanthaNguyen edited subscribers, added: ashley, SamanthaNguyen; removed: wikibugs-l-list.

Re-investigating per T146253

Change 966177 had a related patch set uploaded (by Jack Phoenix; author: Jack Phoenix):

[mediawiki/extensions/ArticleFeedbackv5@master] Add a machine-readable output format to articlefeedbackv5-view-feedback API

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