Thiemo Mättig (WMDE) has uploaded a new change for review.

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

Change subject: Update Special:ListDatatypes for TimeValue
......................................................................

Update Special:ListDatatypes for TimeValue

I'm focusing on non-controversial changes in this patch. Missing in
this patch because it's still discussed:
* Interpretation of the calendar model.
* Negative years.
* Year zero.
* Meaning of the Z.
* Meaning of before and after = 0.
* Meaning of month with precision = year, and so on.
* If day/month can be zero.
* If leading zeros in years with more than 4 digits must be trimmed
  or not.

Bug: T66084
Change-Id: Ieae8fad5cd819a61b2854919d4b34c945ed26d0d
---
M repo/i18n/en.json
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/45/200845/1

diff --git a/repo/i18n/en.json b/repo/i18n/en.json
index 2571c56..b68a27d 100644
--- a/repo/i18n/en.json
+++ b/repo/i18n/en.json
@@ -422,7 +422,7 @@
        "wikibase-listdatatypes-string-head": "String",
        "wikibase-listdatatypes-string-body": "Literal data field for a string 
of glyphs. Typical use are identifiers that have written forms which do not 
depend on the language of the reader.\n* value – explicit value for the 
language specific variant string",
        "wikibase-listdatatypes-time-head": "Time",
-       "wikibase-listdatatypes-time-body": "Literal data field for a time 
value. Given as a time with some precision and boundaries. The time is always 
saved internally in the Proleptic Gregorian format, but can use other formats 
during parsing and formatting.(?)\n* time – explicit value for point in time, 
represented per ISO8601, the year always having 11 digits and the date always 
being signed, in the format +00000002013-01-01T00:00:00Z\n* timezone – explicit 
value as a signed integer. Timezone information as an offset from UTC in 
minutes.\n* before – explicit integer value for how many units after the given 
time it could be. The unit is given by the precision.\n* after – explicit 
integer value for how many units before the given time it could be. The unit is 
given by the precision.\n* precision – explicit value encoded in a shortint. 
The numbers have the following meaning: 0 - billion years, 1 - hundred million 
years, ..., 6 - millennium, 7 - century, 8 - decade, 9 - year, 10 - month, 11 - 
day, 12 - hour, 13 - minute, 14 - second.\n* calendarmodel – explicit value 
given as a URI. It will identify the calendar model that should be used to 
display this time value.",
+       "wikibase-listdatatypes-time-body": "Literal data field for a time 
value. Given as a time with some precision and boundaries. The time is always 
saved internally in the Proleptic Gregorian format, but can use other formats 
during parsing and formatting.\n* time – explicit value for point in time, 
represented as a timestamp resembling ISO 8601, e.g. +2013-01-01T00:00:00Z. The 
year is always signed and padded to have between 4 and 16 digits.\n* timezone – 
explicit value as a signed integer. Timezone information as an offset from UTC 
in minutes.\n* before – explicit integer value for how many units after the 
given time it could be. The unit is given by the precision.\n* after – explicit 
integer value for how many units before the given time it could be. The unit is 
given by the precision.\n* precision – explicit value encoded in a shortint. 
The numbers have the following meaning: 0 - billion years, 1 - hundred million 
years, ..., 6 - millennium, 7 - century, 8 - decade, 9 - year, 10 - month, 11 - 
day, 12 - hour, 13 - minute, 14 - second.\n* calendarmodel – explicit value 
given as a URI. It will identify the calendar model that should be used to 
display this time value.",
        "wikibase-listdatatypes-url-head": "URL",
        "wikibase-listdatatypes-url-body": "Literal data field for a URL. URLs 
are restricted to the protocols also supported for external links in wikitext.",
        "wikibase-concept-uri": "Concept URI",

-- 
To view, visit https://gerrit.wikimedia.org/r/200845
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieae8fad5cd819a61b2854919d4b34c945ed26d0d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to