Page MenuHomePhabricator

Item titles in search result should respect user's variant settings
Open, NormalPublic

Description

STEPS

  1. iPhone preferred languages: zh-hant, en-US, zh-TW, ja
  2. Wikiapp's my languages: Chinese, Japanese, English
  3. Wikiapp "Show languages on search" is ON
  4. Search "東大寺" with language 中文 selected (see green rectangle in screenshot)

ACTUAL
I still see two items' title shown in Simp. Chinese (see red rectangle in above screenshot). But click them will correctly load the Trad. Chinese content.

EXPECTED
Search result list's item title should be Trad. Chinese if user searches in Trad. Chinese

Event Timeline

digdog created this task.Oct 24 2016, 9:18 PM
Restricted Application added a project: Wikipedia-iOS-App-Backlog. · View Herald TranscriptOct 24 2016, 9:18 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Restricted Application added a project: I18n. · View Herald TranscriptNov 30 2016, 7:54 AM
Cwek added a subscriber: Cwek.Mar 23 2017, 1:15 AM

It seems it's right. ’東大寺‘ is a redirect of the target's page which the page's title is '东大寺'. The picture shows that ‘重新导向自:東大寺’ which means 'redirect from 東大寺'.

But it's intersting that the page called '东大寺_(天祝)' also was searched by keyword '東大寺'. Maybe the source code of '东大寺_(天祝)' has the keyword, so it's matched by fullindex's search.

Cwek removed a subscriber: Cwek.Mar 23 2017, 1:15 AM
Arthur2e5 renamed this task from Search result list's item title should be Trad. Chinese if user searches in Trad. Chinese to Item titles in search result should respect user's variant settings.Mar 28 2017, 1:43 AM
RHo added a comment.May 15 2017, 4:57 PM

Same issue on Android, seems to be a search api issue as mentioned on related ticket T134967

JMinor triaged this task as Normal priority.Jun 25 2019, 6:45 PM