This is for the next generation of MCS/PCS (Page Content Service) page content.
In order to deliver just the content for the page - we should remove any content that can deferred until after first paint.
Additionally, most of the information being extracted will be expected to be rendered by the client using native code or js.
We shoud leave a placeholder in for any content removed from the page so we can identify where it came from:
- a class to signify that it is a placeholder so that clients could add onclick handlers if desired (class=mw-references-placeholder)
- an identifier of the extracted content so that clients can find the where it came from in the DOM
This is currently being worked out here:
https://docs.google.com/spreadsheets/d/1RoP3gzbd-DbthjTbfim5z-c-qgjKXJOQE5rgZH3k4d0/edit#gid=0
Currently we have the following for sure:
- References
- Page issues
- Hatnotes
- Categories
As part of this task we should figure out if we can deliver all of this information in a single API call or if we need to break it out into several APIs.