Page MenuHomePhabricator

Translateable Pictures of day on Commons
Open, LowPublic

Description

Hi,
on mobile app Wikipedia on Android is in the card Picture of day used English description. Can be used Czech description from this page: https://commons.wikimedia.org/w/index.php?title=Template:Potd/2019-02-09_(cs)&preload=Template%3APotd%2F2019-02-09+%28en%29 ?

Screenshot_20190209-215500.png (1×720 px, 474 KB)

Screenshot_20190209-215506.png (1×720 px, 450 KB)

Photos credits: Diego Delso, [http://delso.photo/
delso.photo], License [https://creativecommons.org/licenses/by-sa/4.0/legalcode CC-BY-SA]

Event Timeline

Can you please fix it? Czech desctiptions is avabile for most Pictures of day.

Dbrant subscribed.

The content service seems to always return the Picture of the Day in English, regardless of what language domain is requested.

The POTD caption displayed is chosen from among those provided in the POTD template for that day, according to the selection/fallback rules: (1) take the request domain lang, if available, else (2) take English, else (3) take the first available (this doesn't happen anymore as of https://gerrit.wikimedia.org/r/#/c/mediawiki/services/mobileapps/+/404534/). For today, and for the past several days, only an English caption has existed there, which is surprising, and a change from what we were observing when this API was created. It is not intended or expected that the caption returned will always be in English.

The strange phenomenon of only English POTD captions being entered might have to do with the introduction of SDoC image captions, but that's only a guess. This needs more investigation and the endpoint will need to be updated.

(Edited to remove outdated info on the fallback rules.)

Previous discussion of the language selection/fallbacks is available in T184669 and related discussion on Gerrit.

LGoto lowered the priority of this task from Medium to Low.Dec 11 2019, 4:57 PM

From grooming discussion: Eventually this component should be updated to use structured data on commons captions whenever there is enough data.