Page MenuHomePhabricator

Utilize the displaytitle returned by /page/summary wherever article titles are displayed
Closed, ResolvedPublic5 Estimated Story Points

Description

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.

Event Timeline

Restricted Application changed the subtype of this task from "Deadline" to "Task". · View Herald TranscriptJul 2 2019, 2:22 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
JoeWalsh raised the priority of this task from Medium to Needs Triage.Jul 2 2019, 4:07 PM

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.

cc @JoeWalsh

Found another language variants issue in the page/related endpoint and I created a ticket for it: T231609

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.