Page MenuHomePhabricator

Add structured data to api response
Open, LowPublic


The commons app uses the following action api call to get data about an image


It would be great to return captions and statements too so they don't have to run many http queries to get the data. Can use the onGetExtendedMetadata hook to add the data in the WikibaseMediaInfo extension

Event Timeline

Cparle created this task.May 19 2019, 1:13 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 19 2019, 1:13 PM

Change 511320 had a related patch set uploaded (by Cparle; owner: Cparle):
[mediawiki/extensions/WikibaseMediaInfo@master] WIP add structured data to ImageInfo action api response

Ramsey-WMF triaged this task as Low priority.May 20 2019, 4:14 PM
Ramsey-WMF moved this task from Untriaged to Next up on the Multimedia board.
Ramsey-WMF moved this task from To Do to Doing on the Structured-Data-Team-Current-Work board.
Restricted Application added a project: Multimedia. · View Herald TranscriptSat, Aug 10, 11:55 PM
Ramsey-WMF assigned this task to Cparle.Tue, Aug 20, 4:42 PM