We should pull out hatnotes in an array identifying what section they belong to.
We should leave a marker in the content so we know where the hatnotes were removed from.
This should be almost identical to how we handle references.
We should pull out hatnotes in an array identifying what section they belong to.
We should leave a marker in the content so we know where the hatnotes were removed from.
This should be almost identical to how we handle references.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T169242 Develop Page Content Service for Reading Clients | |||
Resolved | None | T177425 Develop General Layer of PCS | |||
Resolved | • Jhernandez | T177426 Develop structured JSON APIs for general consumption | |||
Resolved | • Mholloway | T177428 Develop Metadata JSON API | |||
Resolved | • Mholloway | T172004 Extract Hatnotes as a structured array | |||
Resolved | • Mholloway | T186838 Handle dewiki hatnotes | |||
Resolved | • Mholloway | T186834 Selfref template produces nested div.hatnote elements, causing duplicate hatnote output in MCS |
We have code that does this already in MCS in the experimental 'formatted' endpoint
e.g. http://0.0.0.0:6927/en.wikipedia.org/v1/page/formatted/Military order (society)
We should leave a marker in the content so we know where the hatnotes were removed from.
Any reason for this requirement? Why do we need that information?
Change 409173 had a related patch set uploaded (by Mholloway; owner: Mholloway):
[mediawiki/services/mobileapps@master] Metadata: Add hatnotes
Change 409173 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Metadata: Add hatnotes
Change 410545 had a related patch set uploaded (by Mholloway; owner: Mholloway):
[mediawiki/services/mobileapps@master] Handle hatnotes and issues in any section
Change 410545 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Handle hatnotes and issues in any section
Change 413053 had a related patch set uploaded (by Mholloway; owner: Mholloway):
[mediawiki/services/mobileapps@master] Metadata: remove 'text' property from hatnotes and page issues
Change 413053 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Metadata: remove 'text' property from hatnotes and page issues