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.

Event Timeline

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.

Looks cleared up. Thanks!