The apps are not prepared to handle 204s as defined in the summary response spec (T186933), so they should be changed to 200s with empty extracts per discussion there.
https://www.mediawiki.org/wiki/Page_Previews/API_Specification
The apps are not prepared to handle 204s as defined in the summary response spec (T186933), so they should be changed to 200s with empty extracts per discussion there.
https://www.mediawiki.org/wiki/Page_Previews/API_Specification
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/services/mobileapps | master | +78 -86 | Summary: Send 200s with empty extracts rather than 204s |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Dereckson | T68374 Enable Hovercards on se.wikimedia.org (Swedish chapter wiki) | |||
Resolved | • Jdlrobson | T70860 [GOAL] Graduate Page Previews feature (Popups extension) out of Beta Feature | |||
Resolved | ovasileva | T154635 [EPIC] Deploy page previews to English and German Wikipedia | |||
Resolved | ovasileva | T182319 Show HTML summaries on all wikis | |||
Resolved | ABorbaWMF | T182321 Show HTML summaries on cswiki | |||
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 | T177431 Develop a Summary JSON API | |||
Resolved | • mobrovac | T179875 Update RESTBase to get summary content from MCS Summary 1.3 endpoint when development is complete | |||
Resolved | • Mholloway | T187091 Summary: stop responding with 204s |
As is, this task is worded precisely but I just want to be clear: let's respond with an HTTP 200 OK and a standard request body for a valid response with an empty extract property.
Change 409948 had a related patch set uploaded (by Mholloway; owner: Mholloway):
[mediawiki/services/mobileapps@master] Summary: Send 200s with empty extracts rather than 204s
Change 409948 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Summary: Send 200s with empty extracts rather than 204s