Extension:Wikibase EDTF/de
Wikibase EDTF Freigabestatus: stabil |
|
---|---|
File:20210421 Screenshot Wikibase-EDTF-extension example-statements.png | |
Beschreibung | Adds support for the Extended Date/Time Format (EDTF) Specification via a new data type |
Autor(en) | Jeroen De Dauwtalk |
Betreuer | Professional Wiki |
Letzte Version | 2.1.1 (2023-03-31) |
Kompatibilitätspolitik | Für jede MediaWiki-Version, die ein Long Term Support Release ist, existiert ein entsprechender Zweig in der Erweiterung. |
MediaWiki | 1.37-1.39 (2.x) 1.35-1.36 (1.x) |
PHP | 7.4+ |
Datenbankänderungen | Nein |
Composer | professional-wiki/wikibase-edtf |
Lizenz | GNU General Public License 2.0 oder neuer |
Herunterladen | GitHub: README CHANGELOG |
Beispiel | edtf.wikibase.wiki (demo wiki) |
Compatibility
|
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
The Wikibase EDTF extension adds support for the Extended Date/Time Format (EDTF) Specification to Wikibase via a new data type.
This extension has been created and is maintained by Professional Wiki. The Luxembourg Ministry of Culture funded initial development.
You can find a demo of this extension at https://edtf.wikibase.wiki.
See the documentation for detailed installation and usage instructions or the demo video for a short introduction.
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:
- Dates
- Date and time
- Time Intervals
- Letter-prefixed calendar year
- Seasons
- Qualification of a date
- Unspecified digit(s) from the right
- Negative calendar years
- Exponential years
- Significant digits
- Sub-year groupings
- Set representations
- Qualifications
- Unspecified Digits
- Intervals
Structure
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.
Functionality
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]
becomes
<poem> One of these:
- February 15th, 2021
- February 16th, 2021
- Winter (Southern Hemisphere) 2021
- 11th of unknown month, 2020
</poem>
Interface translations
The extension is being translated via translatewiki.net. Its project can be found here.
Siehe auch
- 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
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
- Pages with script errors
- Extensions by Professional Wiki/de
- Pages with broken file links
- Stable extensions/de
- Extensions with invalid or missing type/de
- Extensions with manual MediaWiki version
- Extensions supporting Composer/de
- GPL licensed extensions/de
- Extensions in GitHub version control/de
- WikibaseRepoDataTypes extensions/de
- WikibaseClientDataTypes extensions/de
- All extensions/de
- Extensions not in ExtensionJson
- Wikibase extensions/de