Page MenuHomePhabricator

Explore card content showing Traditional Chinese when Simplified Chinese is selected
Closed, ResolvedPublicBUG REPORT

Description

Steps to Reproduce:
  1. Set app language to Simplified Chinese
  2. Refresh the feed and scroll to a Simplified Chinese trending card

Accept-Language: zh-hans
https://zh.wikipedia.org/api/rest_v1/feed/featured/2018/05/07

Actual Results:

Articles are showing in the Traditional Chinese variant in the feed

main-MainActivity-05082018153708.png (1×1 px, 240 KB)

displaytitle	"復仇者聯盟3:無限之戰"
Expected Results:

Articles show in Simplified Chinese

displaytitle	"复仇者联盟3:无限之战"

Please notice that the display in titles should be also updated

"titles": {
    "canonical": "復仇者聯盟3:無限之戰",
    "normalized": "復仇者聯盟3:無限之戰",
    "display": "复仇者联盟3:无限之战"
 }
Occurring on

Wikipedia 2.7.232-alpha-2018-05-07

Event Timeline

Vvjjkkii renamed this task from Explore card content showing Traditional Chinese when Simplified Chinese is selected to yddaaaaaaa.Jul 1 2018, 1:11 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from yddaaaaaaa to Explore card content showing Traditional Chinese when Simplified Chinese is selected.Jul 1 2018, 3:33 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.

Looks like related may not be forwarding the language header to the page/summary endpoint for composing the responses.

@cooltey can you confirm if this is still happening?

This is blocked on restbase PR to be reviewed and merged.

Last time restbase CI was broken for some reason, @Pchelolo any thoughts?

If it's waiting for review shouldn't it live in the Code Review column?

Merged and deployed. Please verify it's working, I'm untagging CPT, please retag if something else needed.