Page MenuHomePhabricator

Instantiate Julian calendar date instances when the type becomes available
Closed, ResolvedPublic

Description

Description

Currently when we ingest Wikidata statements (inside of items, lexemes, etc.), and the statement value is a "time" value, we only instantiate those statements whose value is based on the Gregorian calendar. When the Julian calendar type is available, we should up date or create later code (transform.js) to instantiate those statements that employ the Julian calendar.

There is a type proposal for creation of Julian calendar type.

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • After this is done let's revisit the use cases mentioned in T403817, to make sure those calculations are working properly.

Remove all the non-applicable tags from the "Tags" field, leave only the tags of the projects/repositories related to this task


Completion checklist

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Wikidata import: Add support for importing Julian datesrepos/abstract-wiki/wikifunctions/function-orchestrator!811dmartinT396630main
Customize query in GitLab

Event Timeline

Jdforrester-WMF subscribed.

This was tagged against Q3 because we thought it might get fixed by the v2 re-write; not complete, so moving back out.

The Julian type (Z40962) is now available, and there is some community interest in using it, so I'm moving this into the current quarter.

Jdforrester-WMF changed the task status from Open to In Progress.Sep 8 2026, 5:19 PM
Jdforrester-WMF assigned this task to DMartin-WMF.
Jdforrester-WMF triaged this task as Medium priority.

Change #1338204 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-09-03-172537 to 2026-09-08-173612

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

Change #1338204 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-09-03-172537 to 2026-09-08-173612

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