Page MenuHomePhabricator

zhwiki tfa (today featured article) data in sometimes missing from the featured feed
Open, Needs TriagePublic

Description

I checked zhwiki tfa in featured feed from 2020 till now, found that sometimes is missing.

Check script and result in https://public.paws.wmcloud.org/User:Shizhao/tfa_zhwiki.ipynb

This problem seems to be similar to T150703?

Plese fix it!

Event Timeline

Shizhao renamed this task from zhwiki tfa in sometimes missing from the featured feed to zhwiki tfa data in sometimes missing from the featured feed.Aug 19 2022, 10:15 AM

For https://zh.wikipedia.org/api/rest_v1/feed/featured/2022/08/10, I got those trace log in my local endpoint: P32650.
There is an error while getting https://zh.wikipedia.org/api/rest_v1/page/summary/明朝年号列表. Actually, there is no article named 明朝年号列表. The true article name is 明朝年號列表, which is the zh-hant variant of 明朝年号列表.

Change 825376 had a related patch set uploaded (by Func; author: Func):

[mediawiki/services/wikifeeds@master] fix(featured): Extract unconverted page title from href

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

Weird, the variants of text from Special:FeedItem is not stable.
I saw texts in zh-hans from https://zh.wikipedia.org/wiki/Special:FeedItem/featured/20220810000000/zh yesterday, but now it's in zh-hant.
I can also see feeds of other dates in zh-hans now without changing my environment.

Change 825376 abandoned by Func:

[mediawiki/services/wikifeeds@master] fix(featured): Extract unconverted page title from href

Reason:

special page should be fixed instead

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

Change 825452 had a related patch set uploaded (by Func; author: Func):

[mediawiki/extensions/FeaturedFeeds@master] FeaturedFeedChannel: Set target language to make the behavoir stable

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

Krinkle subscribed.

Tagging CTT as owners of Wikifeeds. Note that the open patch makes use of LanguageConversion in cache keys, which could use your expertise in terms of best practices.

MSantos renamed this task from zhwiki tfa data in sometimes missing from the featured feed to zhwiki tfa (today featured article) data in sometimes missing from the featured feed.Aug 24 2023, 2:12 PM
Sbailey added a subscriber: MSantos.
Sbailey moved this task from Backlog to In Progress on the Wikifeeds board.