Page MenuHomePhabricator

Develop HTML Content API to be used with companion structured JSON APIs
Open, HighPublic

Description

This HTML applies all common transforms for general API clients that can make use of structured APIs.

By "content", this means the HTML that is specifically a pages content, as opposed to metadata about an article that is typically encoded within the page itself.

A good example of this is references. These are typically included as a long list at the bottom of an page. These will be omitted from this API and instead clients can obtain them by using the structured JSON API.

Other examples include hatnotes, page issues and categories.

Additionally, the transforms may be applied to improve rendering/readability (such as moving the lead paragraph, inserting Wikidata descriptions, or lead images). A list of the transforms that are applied at this layer is TBD (pending outcome of understanding common transforms across all clients).

Related Objects

StatusAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedbearND
ResolvedbearND
OpenNone
ResolvedbearND
DeclinedbearND
ResolvedbearND
ResolvedbearND
ResolvedbearND
ResolvedbearND
ResolvedMholloway
ResolvedbearND
ResolvedMhurd
ResolvedDbrant
ResolvedbearND
ResolvedbearND
OpenNone
OpenNone
ResolvedNHarateh_WMF
ResolvedMSantos
ResolvedMSantos
ResolvedMSantos
OpenSharvaniharan
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedbearND
OpenbearND
ResolvedbearND
ResolvedMholloway
OpenMholloway
OpenbearND
ResolvedJhernandez
ResolvedMholloway
ResolvedDbrant
OpenNone

Event Timeline

bearND triaged this task as Normal priority.
bearND claimed this task.

Change 438090 had a related patch set uploaded (by BearND; owner: BearND):
[mediawiki/services/mobileapps@master] Content_html: add CSS link and viewport meta

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

Change 438091 had a related patch set uploaded (by BearND; owner: BearND):
[mediawiki/services/mobileapps@master] Hygiene: add parameter for relocateFirstParagraph

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

Change 438092 had a related patch set uploaded (by BearND; owner: BearND):
[mediawiki/services/mobileapps@master] content-html: Relocate first paragraph

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

Change 438090 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Content_html: add CSS link and viewport meta

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

Change 438091 merged by BearND:
[mediawiki/services/mobileapps@master] Hygiene: add parameter for relocateFirstParagraph

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

Change 438092 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] content-html: Relocate first paragraph

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

Jhernandez raised the priority of this task from Normal to High.Jul 6 2018, 12:31 PM
Jhernandez added a subscriber: Jhernandez.

We are working on this, reflecting reality. ☝️

bearND renamed this task from Develop HTML Content API to be used with companion structured JSON APIs to Expose /page/content-html endpoint via RESTBase.Jul 12 2018, 11:37 PM
bearND lowered the priority of this task from High to Normal.
bearND added a project: Services.
bearND updated the task description. (Show Details)
bearND removed a subscriber: gerritbot.

Oops, meant to create a sub task instead. Going to revert.

bearND renamed this task from Expose /page/content-html endpoint via RESTBase to Develop HTML Content API to be used with companion structured JSON APIs.Jul 12 2018, 11:38 PM
bearND raised the priority of this task from Normal to High.
bearND removed a project: Services.
bearND updated the task description. (Show Details)Jul 12 2018, 11:41 PM

@bearND Mind moving the subtasks related to this that you are working on to the kanban board instead of this one? I made it an epic based on your comment in T217837#5022095

bearND removed bearND as the assignee of this task.Mar 19 2019, 3:12 AM
bearND added a subscriber: bearND.