Page MenuHomePhabricator

In the news and On this day cards are not available in Ukrainian on the Wikipedia app
Open, LowPublicBUG REPORT

Description

In the news and On this day cards are not available in Ukrainian on the Android Wikipedia app. There are corresponding sections on the Ukrainian Wikipedia main page.

Notes - Occurs on Android and iOS Apps as well. Added tags

Related Objects

Event Timeline

Restricted Application added subscribers: Base, Aklapper. · View Herald Transcript

These need to be added to the Content Service if we're to get them.

How is this done?

Can it be done for all languages?

Copy paste from:
https://www.mediawiki.org/w/index.php?title=Topic:Ulh3p09eog4w6z1y&topic_showPostId=veyjnt131crupooi#flow-post-veyjnt131crupooi


The 'onthisday' data is served via this rest endpoint. Here's an example of a call to the endpoint:
https://en.wikipedia.org/api/rest_v1/feed/onthisday/events/01/15

The endpoint extracts this data by teasing out some structure from "day pages", like https://en.wikipedia.org/wiki/January_15.

It's not a perfect approach - ideally we'll get this data from wikidata at some point (or use this endpoint to seed wikidata records for days of the year?) - but it's been useful in the mean time.

The structure of these day pages varies a bit (or a lot) by language wiki, so I tried to abstract away the language logic. Here's a mirror of the file that contains the language specific logic used by the onthisday parser (which I wrote). I added handling for a few languages which, at the time, seemed to have a page for each day of the year, but I got side-tracked by other work since.

I'd like to circle back and audit the state of all language wikis' day page coverage again. If a language has a page for every day of the year the parser isn't too hard to update iirc. I seem to remember it taking an hour or 2 per lang?

ABorbaWMF renamed this task from In the news and On this day cards are not available in Ukrainian on the Android Wikipedia app to In the news and On this day cards are not available in Ukrainian on the Wikipedia app.Sep 10 2021, 6:32 PM
ABorbaWMF updated the task description. (Show Details)

Is it done also for Android?

Is it done also for "In the News"?

On Android, I see "On this day" in Ukrainian, but not "In the News".

Change 776264 had a related patch set uploaded (by Matt Cleinman; author: Matt Cleinman):

[mediawiki/services/wikifeeds@master] Add In the News in for ukwiki

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

Removing inactive assignee

Aklapper changed the subtype of this task from "Task" to "Bug Report".Feb 17 2023, 8:22 AM