Page MenuHomePhabricator

Swedish day pages have inconsistent section titles for holidays
Closed, ResolvedPublic

Description

Problem

The onthisday/holidays endpoint has several days of the year with issues. The code currently looks for "Namnsdagar". But some pages use "Dagens namn" instead.

Question for a Swedish speaker

Should the code look for both or should the pages be changed to be consistent? Should we use "Återkommande bemärkelsedagar" instead? Or in addition to "Dagens namn" and "Namnsdagar"?

Details

Here's the list of requests that don't produce any results (with a few links to the corresponding page in svwiki, one per month):
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/02/29 -> https://sv.wikipedia.org/wiki/29_februari
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/03/11 -> https://sv.wikipedia.org/wiki/10_mars
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/03/12
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/03/13
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/03/14
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/03/16
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/03/17
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/03/18
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/03/19
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/03/20
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/03/21
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/03/22
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/05/19 -> https://sv.wikipedia.org/wiki/19_maj
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/09/07 -> https://sv.wikipedia.org/wiki/7_september
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/09/30
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/10/01 -> https://sv.wikipedia.org/wiki/1_oktober
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/10/04
curl -s http://localhost:6927/sv.wikipedia.org/v1/feed/onthisday/holidays/10/11

Event Timeline

bearND added a subscriber: Josve05a.

@Josve05a Would you be able to help answer the question in the description?

Looking at the page some more I think the section "Återkommande bemärkelsedagar" might be more appropriate for holidays. What do you think?

bearND renamed this task from Holidays on Swedish day pages use inconsistent section titles to Swedish day pages have inconsistent section titles for holidays.Feb 22 2017, 7:50 PM

@Johan would you be able to give us some guidance for this?

"Namnsdagar" och "Dagens namn" should be interchangeable and are as far as I can see (I normally don't edit these articles) used for exactly the same purpose: they specifically refer to name days, and are not really good equivalents of "holidays". "Återkommande bemärkelsedagar" is better – it broadly refers to everything from national days (often, but not necessarily, independence days), holidays like e.g. Christmas, United Nations Day etc.

What he said ^^ Except that I think that Återkommande bemärkelsedagar sounds archaic, but is till what is used on wiki.
Sorry for not seing this sooner. I have 500+ notifications atm.

Thank you for your responses. I'll change it to use just Återkommande bemärkelsedagar then.

Change 340167 had a related patch set uploaded (by BearND; owner: BearND):
Onthisday: update sv holidays

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

Change 340167 merged by jenkins-bot:
On this day: update sv holidays

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