Last modified: 2014-08-15 12:01:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53296, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51296 - Add a machine-readable output format to articlefeedbackv5-view-feedback API
Add a machine-readable output format to articlefeedbackv5-view-feedback API
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedbackv5 (Other open bugs)
unspecified
All All
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://wiki256.net/articlefeedback/
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-13 17:40 UTC by orlodrim
Modified: 2014-08-15 12:01 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description orlodrim 2013-07-13 17:40:11 UTC
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.
Comment 1 Nemo 2014-01-04 16:32:47 UTC
Thanks for filing. I wouldn't call this an enhancement, having mixed HTML makes it a non-API.
Comment 2 Nemo 2014-01-04 16:47:56 UTC
Ah, I see you use it for an aiding tool, adding URL for context.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links