Page MenuHomePhabricator

Reader gets Wikibase item presentation format
Closed, InvalidPublic

Description

"As a Reader, I want to get a presentational version of a Wikibase item, so I can review its information manually."

Currently the GET /page/{title}/html and GET /page/{title}/with_html endpoints in the Core REST API return an HTML-wrapped JSON object for pages with type wikibase-item, which is neither good for machine-readable format nor for human readable.

It would be interesting to instead return something like the Web interface, maybe with the in-page editing controls left out?

Event Timeline

Pppery subscribed.

It looks to me like this was incidentally fixed at some point - https://www.wikidata.org/w/rest.php/v1/page/Q97440479/html properly shown an HTML representation of the item (albeit without the corresponding CSS).

BPirkle subscribed.

This work was handled under separate tasks and is no longer relevant.