PCS's /page/summary endpoint returns a displaytitle that includes HTML formatting (italics where appropriate, for example on species names and movie titles), includes proper casing for example (iPhone instead of IPhone), and will eventually respect language variants (T227089). This endpoint could be utilized to display titles with the correct casing, formatting, and eventually language variant throughout the app.
Description
Related Objects
- Mentioned In
- T232384: Reading list endpoints do not take care of language variants properly.
T231609: page/related/ endpoint should return the correct displaytitle in Chinese variants
T194161: Explore card content showing Traditional Chinese when Simplified Chinese is selected - Mentioned Here
- T232384: Reading list endpoints do not take care of language variants properly.
T231609: page/related/ endpoint should return the correct displaytitle in Chinese variants
T194161: Explore card content showing Traditional Chinese when Simplified Chinese is selected
T227089: Return displaytitle in the correct language variant from /page/summary
Event Timeline
Note: we can apply the correct displaytitle to the following places:
- Search results
- Saved reading list items
- Read more list items
@JoeWalsh
Not sure if it slows down the requesting time, but is it possible to do an extra request of /page/summary to update the displaytitle when sending the response on /feed/featured.
It makes more sense to me instead of making extra API calls on the trending items.
@cooltey the correct displaytitle should be returned by /feed/featured - is there an example where that's not the case? If so, we should file a bug against the /feed/featured endpoint
Thanks, @JoeWalsh
I found an old ticket relates to this issue: T194161
Will update that ticket and add Page Content Service to it.
Created a bug ticket about syncing reading list entries since it will affect the correctness when requesting page/summary.
https://phabricator.wikimedia.org/T232384
@cooltey I have been looking through Search results, Saved reading list items, Read more list items. They seem to be good. Are there any other steps I should take to check this one?
@ABorbaWMF Please also check the link preview dialog and tab title to see if the title matches.