Page MenuHomePhabricator

Date range in /page/summary is outputted backwards in certain article
Open, MediumPublic

Description

Steps to reproduce

  1. Check https://en.wikipedia.org/api/rest_v1/page/summary/Jameel_Al-Madfaai
  2. See the date range Jamil al-Midfai \n(1958–1890) in extract

Expected result

Jamil al-Midfai \n(1890–1958)

Actual result

Jamil al-Midfai \n(1958–1890)

Please note that the issue might relate to the RTL language:

https://en.wikipedia.org/wiki/Jameel_Al-Madfaai

Jamil al-Midfai (جميل المدفعي) (1958–1890) was an Iraqi politician. He served as that country's prime minister on five separate occasions:

Original ticket description:

Email feedback:

Why are the dates backwards in Randomizer thumbnail vs the full article? The man lived 1958-1890???

Screenshot_2020-08-05-04-16-25_resized.png (720×1,280 px, 272 KB)
Screenshot_2020-08-05-04-16-30_resized.png (720×1,280 px, 295 KB)

Event Timeline

This should be resolved by the #product-infrastructure-team-backlog since the extract is showing the content below:

"Jamil al-Midfai \n(1958–1890) was an Iraqi politician. He served as that country's prime minister on five separate occasions:November 9, 1933 – August 25, 1934\nMarch 1, 1935 – March 16, 1935\nAugust 17, 1937 – December 26, 1938\nJune 2, 1941 – October 10, 1941\nJanuary 29, 1953 – September 1, 1953"
cooltey renamed this task from Date range in randomizer is outputted backwards to Date range in /page/summary is outputted backwards in certain article.Aug 7 2020, 7:59 PM
cooltey updated the task description. (Show Details)

Also updated the ticket description and ticket title.

MSantos added a subscriber: Jgiannelos.

(Almost ) all data inside parentheses is truncated now for the summary response, so this issue is no longer valid. Source code here.