daniel added a comment.

  Note that per the data model specification 
<https://www.mediawiki.org/wiki/Wikibase/DataModel#Quantities>, the unit can be 
any URI (or rather, any IRI):
  
  > The unit specifies a physical quantity that the number refers to. It is 
represented as a IRI rather than as a String, since a string like "m" might 
represent different units in different contexts. The value should be meaningful 
independently of the declaration information for its Property (from which more 
details about units could possibly be obtained), hence the unit is a full IRI. 
In practice, this IRI might be the IRI refering to an ItemDescription 
representing the desired unit, or be taken from a standard vocabulary for 
units, like QUDT.
  
  So any validation that restricts this to Wikidata entities should not be hard 
coded, since other Wikibase installations may choose to rely on a different 
vocabulary for units.

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

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

To: daniel
Cc: Lea_Lacroix_WMDE, MisterSynergy, abian, Mbch331, matej_suchanek, Pasleim, 
PokestarFan, Lydia_Pintscher, Ladsgroup, thiemowmde, daniel, Aklapper, 
Smalyshev, alaa_wmde, Dinadineke, Nandana, tabish.shaikh91, Lahi, Gq86, 
GoranSMilovanovic, Soteriaspace, Jayprakash12345, JakeTheDeveloper, QZanden, 
merbst, LawExplorer, _jensen, rosalieper, Jonas, Wikidata-bugs, aude, TheDJ
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to