Michael added a comment.

  In T272697#6931299 <https://phabricator.wikimedia.org/T272697#6931299>, 
@Lydia_Pintscher wrote:
  
  > In T272697#6927889 <https://phabricator.wikimedia.org/T272697#6927889>, 
@Michael wrote:
  >
  >> In T272697#6910845 <https://phabricator.wikimedia.org/T272697#6910845>, 
@Lydia_Pintscher wrote:
  >>
  >>>> We only support 3 degrees of precision: day, month, year
  >>>
  >>> Can we clarify why only those 3?
  >>
  >> IIRC, because you said so :)
  >
  > I don't remember that 😬   And from a user-perspective I don't think there 
is a reason to restrict it. Are there technical reasons?
  
  Not per se, though it is some extra work associated with each extra level of 
precision. The reason is that each precision needs some custom handling when 
generating the SPARQL. E.g. "15th century" is stored roughly as `1500-00-00` 
and needs to be transformed into `'> 1400-00-00'` and `'<=1500-00-00'`. This 
effort isn't huge, but is also not just a config change.

TASK DETAIL
  https://phabricator.wikimedia.org/T272697

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: Michael, Sarai-WMDE, abian, Charlie_WMDE, Lydia_Pintscher, amy_rc, 
Aklapper, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to