Page MenuHomePhabricator

Update PCS defaultOutputModeForPOSTResponse
Closed, ResolvedPublic

Description

After RESTBase (patch will be linked after it is up) has deployed their editPreview patch, update PCS's mRequestUtil.defaultOutputModeForPOSTResponse (in mobile-request-util.js to MobileHTML.OutputMode.contentAndReferences.

Also need to update the description and headers in spec/transform/html-to-mobile-html.yaml.

This is blocked by a RESTBase patch, which is in turn blocked by this PCS patch[1] being merged and deployed.

[1]https://gerrit.wikimedia.org/r/c/mediawiki/services/mobileapps/+/596284

Event Timeline

Change 605321 had a related patch set uploaded (by Matt Cleinman; owner: Matt Cleinman):
[mediawiki/services/mobileapps@master] Update default output mode

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

MattCleinman renamed this task from [HOLD for RESTbase] Update PCS defaultOutputModeForPOSTResponse to Update PCS defaultOutputModeForPOSTResponse.Jun 12 2020, 9:30 PM

New decision: We're going to leave the default as EditPreview.

Next steps:

Change 605321 abandoned by Matt Cleinman:
Update default output mode

Reason:
We decided to keep the default as editPreview. Updating documentation in another patch.

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

Change 606529 had a related patch set uploaded (by Matt Cleinman; owner: Matt Cleinman):
[mediawiki/services/mobileapps@master] Update documentation for html/to/mobile-html endpoint

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

Change 606529 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Update documentation for html/to/mobile-html endpoint

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