Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom calendars in Wikidata dates #2136

Closed
wetneb opened this issue Aug 24, 2019 · 1 comment · Fixed by #2137
Closed

Support for custom calendars in Wikidata dates #2136

wetneb opened this issue Aug 24, 2019 · 1 comment · Fixed by #2137
Labels
Type: Feature Request Identifies requests for new features or enhancements. These involve proposing new improvements. wikibase Related to wikidata/wikibase integration
Milestone

Comments

@wetneb
Copy link
Sponsor Member

wetneb commented Aug 24, 2019

Date values currently created by the Wikidata extension always use the Gregorian calendar. This should be configurable on a per-date basis. We just need to figure out a syntax for this.

Perhaps YYYY-MM-DD_QID, where QID is the item id of the calendar?

@wetneb wetneb added Type: Feature Request Identifies requests for new features or enhancements. These involve proposing new improvements. wikibase Related to wikidata/wikibase integration labels Aug 24, 2019
@wetneb
Copy link
Sponsor Member Author

wetneb commented Aug 25, 2019

For the changelog:

  • Adds support for dates with custom calendars, such as 1345-03-07_Q1985786;
  • Adds support for special date TODAY which evaluates to today's date when edits are made;
  • Adds warnings for early dates using the Gregorian calendar.

@wetneb wetneb added this to the 3.3 milestone Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Request Identifies requests for new features or enhancements. These involve proposing new improvements. wikibase Related to wikidata/wikibase integration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant