I have noticed a few bugs around widgets and language variants, so this task encompasses revisiting widgets with an eye towards fixing any variant weirdness we see:
- I noticed intermittently the POTD widget is the loading / gray state when the primary language is a variant. This seems worth investigating since Picture of the Day shouldn't be tied to a particular wiki language. I had also noticed it on 6.7.4 occasionally so this may not be variant-related.
The top read widget switches languages properly when a different variant becomes the app preferred language. However deeplinking to the article shows an incorrect language variant. (Test steps: Primary app language Serbian Latin, secondary language Serbian Cyrillic. Top read shows most text in Latin, but deep linking goes to an article in Cyrillic).Moved to https://phabricator.wikimedia.org/T278581- The top read widget is in a loading / gray state after updating from 6.7.4 and the primary language is a variant. Pulling to refresh on the Explore feed fixes this, but it would be nice if it worked right away.
Note I haven't tested iOS13 widgets or the On this Day iOS14 widget (both Chinese and Serbian show the "Your primary language does not support On this day" error state), so we should confirm there are no bugs with those too.