Page MenuHomePhabricator

Remove extra "diff" wrapper in comparison endpoint
Closed, ResolvedPublic

Description

In the comparison endpoint of the Core REST API, the "diff" property wraps a second "diff" that comes from wikidiff2. We don't need two "diff" wrappers.

Details

Related Gerrit Patches:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 18 2019, 12:50 PM

Change 546007 had a related patch set uploaded (by Nikki Nikkhoui; owner: Nikki Nikkhoui):
[mediawiki/core@master] Remove "diff" in response body in revision/{from}/compare/{to}

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

Change 546007 merged by jenkins-bot:
[mediawiki/core@master] Remove "diff" in response body in revision/{from}/compare/{to}

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

Updated docs to reflect these changes.

eprodromou closed this task as Resolved.Oct 29 2019, 4:18 PM

Looks cleared up. Thanks!