Page MenuHomePhabricator

Add content type check to mobile-html and mobile-html-offline-resources to enforce the latest version
Closed, ResolvedPublic

Description

The mobile-html endpoint is nearing release for the apps and there are older versions of the endpoint cached that aren't compatible with the latest version. To ensure the endpoint serves all pages with the latest version, add the content type check to the mobile-html and mobile-html-offline-resources endpoint. The profiles should be https://www.mediawiki.org/wiki/Specs/Mobile-HTML/1.2.0 for mobile-html and https://www.mediawiki.org/wiki/Specs/Mobile-HTML-Offline-Resources/1.2.0 for mobile-html-offline-resources

Event Timeline

I believe the reason is T246854

I don't understand this comment. What does this task have to do with Parsoid in beta?

Mentioned in SAL (#wikimedia-operations) [2020-03-17T19:38:34Z] <ppchelko@deploy1001> Started deploy [restbase/deploy@8db09ed]: Various PCS endpoints additions and fixes T247295 T247096 T244175

curl -i https://en.wikipedia.org/api/rest_v1/page/mobile-html/Tank | grep content-type:

Now it returns 1.2.0 always. Done.

Mentioned in SAL (#wikimedia-operations) [2020-03-17T19:53:06Z] <ppchelko@deploy1001> Finished deploy [restbase/deploy@8db09ed]: Various PCS endpoints additions and fixes T247295 T247096 T244175 (duration: 14m 31s)