Page MenuHomePhabricator

[M] The article title and description in read more section does not respect the Chinese language variant in mobile-html
Closed, ResolvedPublic

Description

When loading the article in mobile-html endpoint, it also requests an MW API call for the read more section.

What happens?

The title and content in the Read More section are in the original Chinese content.

What should have happened instead?

The title and content in the Read More section should appear correctly based on the language code, such as zh-tw or zh-hant.

Event Timeline

@cooltey Thanks -- The PCS logic actually no longer uses page/related, and now just uses a regular MW API call, similar to mobile web. So, fixing this issue might be as simple as tweaking the API call.

Speaking of which: does mobile web show variants correctly in their Related Articles at the bottom?

@cooltey Thanks -- The PCS logic actually no longer uses page/related, and now just uses a regular MW API call, similar to mobile web. So, fixing this issue might be as simple as tweaking the API call.

Speaking of which: does mobile web show variants correctly in their Related Articles at the bottom?

Got it, thanks for the information!

For the mobile web here: https://zh.m.wikipedia.org/zh-tw/2024年夏季奥林匹克运动会, the items there are showing incorrectly.

JTannerWMF subscribed.

This is also showing up on Mobile Web

Change #1092349 had a related patch set uploaded (by Cooltey; author: Cooltey):

[mediawiki/services/mobileapps@master] Make sure the article titles in Read more respsect the language variant

https://gerrit.wikimedia.org/r/1092349

Change #1092350 had a related patch set uploaded (by Cooltey; author: Cooltey):

[mediawiki/services/mobileapps@master] Make sure the aritcle titles in read more respect the language variant

https://gerrit.wikimedia.org/r/1092350

Change #1092349 abandoned by Cooltey:

[mediawiki/services/mobileapps@master] Make sure the article titles in Read more section in the `mobile-html` endpoint to respect the language variant from the Accept-Language header.

https://gerrit.wikimedia.org/r/1092349

Dbrant renamed this task from The article title and description in read more section does not respect the Chinese language variant in mobile-html to [M] The article title and description in read more section does not respect the Chinese language variant in mobile-html.Dec 2 2024, 6:27 PM

Change #1092350 merged by jenkins-bot:

[mediawiki/services/mobileapps@master] Make sure the article titles in read more to respect the language variant.

https://gerrit.wikimedia.org/r/1092350

HNordeenWMF removed cooltey as the assignee of this task.