= Background information
/page/summary doesn't return displaytitle in the correct language variant
= How
It looks like only `action=mobileview` returns the correct `displaytitle`.
For example, with `Accept-Language: zh-Hans` header set for all requests listed
https://zh.wikipedia.org/api/rest_v1/page/summary/中國
incorrectly returns 中國
https://zh.wikipedia.org/w/api.php?action=query&format=json&prop=pageprops&titles=中國&ppprop=displaytitle
incorrectly returns 中國
https://zh.wikipedia.org/w/api.php?action=mobileview&format=json&page=中國&prop=displaytitle
correctly returns 中国
= Open questions
Could we add a request to `mobileview` on the wikis with language variants to get the correct displaytitle? `mobileview` is being deprecated (T186627) so it might make more sense to figure out how to get the correct result from `pageprops`, whether that means sending different parameters or fixing it to return the expected result
= Acceptance criteria
- [] For wikis that have language variants, the correct displaytitle is returned from /page/summary based on the Accept-Language header. For example, https://zh.wikipedia.org/api/rest_v1/page/summary/中國 with `Accept-Language: zh-Hans` would return 中国