Nothing Special   »   [go: up one dir, main page]

Page MenuHomePhabricator

On This Day endpoint returning empty list on frwiki
Closed, ResolvedPublic

Description

This endpoint, which is supposed to return all events that occurred on this day, is returning an empty list:
https://fr.wikipedia.org/api/rest_v1/feed/onthisday/events/12/14

...while this endpoint, which is a subset of the above endpoint, is returning correct content:
https://fr.wikipedia.org/api/rest_v1/feed/onthisday/selected/12/14

Event Timeline

bearND triaged this task as High priority.

Thanks. Taking a look at it right now. Looks like we need to update the heading ids for the ones that use non-ASCII characters since the HTML section ids were deployed.

Previously it was like this:

<h2 id=".C3.89v.C3.A9nements"><span

Now we have:

<h2 id="Événements"><span id=".C3.89v.C3.A9nements"

Change 398268 had a related patch set uploaded (by BearND; owner: BearND):
[mediawiki/services/mobileapps@master] Fix onthisday entries from day pages

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

Change 398268 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Fix onthisday entries from day pages

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

Mentioned in SAL (#wikimedia-operations) [2017-12-14T18:48:33Z] <bsitzmann@tin> Started deploy [mobileapps/deploy@bf85a55]: Update mobileapps to ff74bb1 (T182868 T182774)

Mentioned in SAL (#wikimedia-operations) [2017-12-14T19:00:59Z] <bsitzmann@tin> Finished deploy [mobileapps/deploy@bf85a55]: Update mobileapps to ff74bb1 (T182868 T182774) (duration: 12m 26s)

bearND closed this task as Resolved.EditedDec 14 2017, 7:36 PM

https://fr.wikipedia.org/api/rest_v1/feed/onthisday/events/12/14 has events now.

BTW, this had also affected many other languages (ar, de, es, fr, pt, ru, sv). Basically anything that uses non-ASCII chars for the particular heading id.

The related change in core is tracked in T152540.