Page MenuHomePhabricator

Parent: Fix display title regressions (i.e. showing 'IPhone' when it should show 'iPhone')
Closed, ResolvedPublic

Description

Details:

  • If a query is using the pageprops param it should get pageprops.displaytitle in the results.
  • We just need to use pageprops.displaytitle from the results (if present) instead of just grabbing title from the query results.
  • Fallback to title if there's no pageprops.displaytitle or if pageprops.displaytitle contains html.
  • Reminder: ensure we only change what we're using for display and not the title bits which are used when user makes a selection to load actual article.

Event Timeline

Mhurd renamed this task from Fix display title regressions (i.e. showing 'IPhone' when it should show 'iPhone') to Parent: Fix display title regressions (i.e. showing 'IPhone' when it should show 'iPhone').Apr 25 2018, 11:36 PM
JMinor triaged this task as Medium priority.Apr 30 2018, 5:46 PM
JMinor moved this task from Needs Triage to Bug Backlog on the Wikipedia-iOS-App-Backlog board.

Fallback to title if there's no pageprops.displaytitle or if pageprops.displaytitle contains html.

Should we remove the HTML instead of falling back to title so we retain the capitalization?

Also, if we want to start showing italics, now would probably be a good time.

Should we remove the HTML instead of falling back to title so we retain the capitalization?

That makes sense.

Also, if we want to start showing italics, now would probably be a good time.

@JMinor ? ^

Agreed, if we can resolve our italics issues at the same time, it would be good. Lets confirm in sync today.