| Wikibase EDTF
|説明||Adds support for the Extended Date/Time Format (EDTF) Specification via a new data type|
|作者||Jeroen De Dauwトーク|
|ライセンス||GNU 一般公衆利用許諾書 2.0 以降|
Initial development was funded by the Luxembourg Ministry of Culture.
Extended Date/Time Format (EDTF)
EDTF is part of ISO 8601-2:2019, which defines various extensions to ISO 8601 standard, such as uncertainties. For the implementation of the project the development team followed the publicly available concise description of the standard on the specification site of the U.S. Library of Congress.
The implementation supports:
- Date and time
- Time Intervals
- Letter-prefixed calendar year
- Qualification of a date
- Unspecified digit(s) from the right
- Negative calendar years
- Exponential years
- Significant digits
- Sub-year groupings
- Set representations
- Unspecified Digits
The extension is divided into two libraries. One Library is a standalone PHP EDTF interpretation and humanisation library. It can be found at ProfessionalWiki/EDTF. Note that the library can be used independently from this extension.
This library is wrapped by this extension that interacts with the library and provides further functionality, e.g. GUI and export to RDF.
The extension provides the user with an open text field where they can put in any text. Upon saving this text is validated against proper formatting of EDTF. If the string is not properly formatted the string is not saved. The users will be presented with an error message.
When the string is a valid EDTF-date it is saved. In the GUI a 'humanised' string is generated that transforms the string to a short sentences that is human readable.
- Example humanisation
[2021-02-15, 2021-02-16, 2021-32, 2020-XX-11]
The extension is being translated via translatewiki.net. Its project can be found here.
- Extended Date Time Format Support for Wikibase — Blog post on the occasion of the extension's release providing a general overview
- Extended Date Time Format Support for Wikibase — Video on using the Wikibase Local Media extension