Page MenuHomePhabricator

[Bug] The feed/featured endpoint does not show the correct image description of the "Picture of the day" in the target language
Closed, ResolvedPublicBUG REPORT

Description

Steps to Reproduce:
https://ko.wikipedia.org/api/rest_v1/feed/featured/2020/07/28

Actual Results:
The target language should be in Korean, but the text in image.description is always shown in English.

Expected Results:
The entire image should contain the correct information in the target language.
https://commons.wikimedia.org/w/index.php?title=File:Beautiful_demoiselle_(Calopteryx_virgo)_male_3.jpg&action=edit&section=1

Event Timeline

@cooltey: Which code project is this about? Mobile-Content-Service? And/or Wikifeeds? (Please add code project tags, so people who don't know or don't care about team tags can also find this task when searching via projects. Thanks!)

Change 667990 had a related patch set uploaded (by Art.tsymbar; owner: arttsymbar):
[mediawiki/services/wikifeeds@master] Featured image description language fix. The description is to be in corresponding wiki language.

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

Change 667997 had a related patch set uploaded (by Art.tsymbar; owner: arttsymbar):
[mediawiki/services/mobileapps@master] Featured image description language fix. The description is to be in corresponding wiki language.

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

Change 667997 abandoned by Art.tsymbar:
[mediawiki/services/mobileapps@master] Featured image description language fix. The description is to be in corresponding wiki language.

Reason:
Wrong files updated

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

Hi, @MSantos , @Jgiannelos ! I'm trying to push changes https://gerrit.wikimedia.org/r/c/mediawiki/services/wikifeeds/+/667990 to wikifeeds, but test fails (https://integration.wikimedia.org/ci/job/service-pipeline-test/7941/console) due to empty content for /page/news for "es" subdomain. -> "es: results list should have expected properties". Could you please tell what can be a reason ? Thanks!

Hi, @MSantos , Thanks for the info! Yes, it is clear. The patch updated - now tests pass. Thanks!

Change 667990 merged by jenkins-bot:
[mediawiki/services/wikifeeds@master] Featured image description language fix. The description is to be in corresponding wiki language.

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