Page MenuHomePhabricator

On This Day deep links - questions on intended behavior
Closed, DeclinedPublic

Description

In English Wikipedia, there are two different types of On This Day links:

  1. Today's info: https://en.wikipedia.org/wiki/Wikipedia:On_this_day/Today
  2. Any date (this is used to create the canonical on-this-day display: https://en.wikipedia.org/wiki/Wikipedia:Selected_anniversaries/August_31 and https://en.wikipedia.org/wiki/January_15

Questions coming from the deep linking On This Day (https://phabricator.wikimedia.org/T172759), which was quickly completed to use the functionality for widgets:

  1. We're currently swallowing the first link and bringing them to our On This Day view. Should we also swallow links of the second variety? (That page allows editing and such - which our On This Day view does not do.)
  2. "On This Day" is a different page URL in different languages. We're currently only swallowing links for English Wikipedia's On This Day URL format. Is there a canonical list of "On This Day" URLs so we can swallow all of them?

(Once these are answered, we should use this ticket - or a new one - to complete the work.)

Event Timeline

We're currently swallowing the first link and bringing them to our On This Day view. Should we also swallow links of the second variety? (That page allows editing and such - which our On This Day view does not do.)

No, as you noted, for specific days its probably best to put them into an editable page that looks "normal" when coming from a wiki. I do want to keep "today" pointing to our version.

"On This Day" is a different page URL in different languages. We're currently only swallowing links for English Wikipedia's On This Day URL format. Is there a canonical list of "On This Day" URLs so we can swallow all of them?

I don't but I suspect this info is in the services layer, if not expose via the feeds API, then in the code itself? Probably need to take this to PI for guidance.