NOTE: As the time of writing, v2.0 is the next major version of the Page Summary RESTBase endpoint.
We want to make sure that older clients still receive compatible responses (v1.2-) as the new Page Summary response contains a lot of breaking changes.
AC
- For requests with the Accept: profile="https://www.mediawiki.org/wiki/Specs/Summary/1.2.0 HTTP header, the content is fetched from the MediaWiki API as it is now.
- For requests with the Accept: profile="https://www.mediawiki.org/wiki/Specs/Summary/1.2.0 HTTP header, the content is fetched from the new Page Summary MCS route
Open Questions
- How many clients send requests without the profile part of the Accept HTTP header? See T170606: Add Accept header to webrequest logs
- At what point is returning v2.0+ content an acceptable default strategy?