Click or drag to resize

BuiltInDataTypes Class

This is preliminary documentation and is subject to change.

Provides a list of predefined WikibaseDataType instances.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.Wikibase.DataTypesBuiltInDataTypes

Namespace: WikiClientLibrary.Wikibase.DataTypes
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static class BuiltInDataTypes

The BuiltInDataTypes type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberCommonsMedia Link to files stored at Wikimedia Commons. When a value is entered, the "File" namespace on Commons will be searched for matching files.
Public propertyStatic memberExternalId Literal data field for an external identifier. External identifiers may automatically be linked to an authoritative resource for display.
Public propertyStatic memberGeoShape Link to geographic map data stored on Wikimedia Commons (or other configured wiki). See "https://www.mediawiki.org/wiki/Help:Map_Data" for more documentation about map data.
Public propertyStatic memberGlobeCoordinate 
Public propertyStatic memberMath Literal data field for mathematical expressions, formula, equations and such, expressed in a variant of LaTeX.
Public propertyStatic memberMonolingualText Literal data field for a string that is not translated into other languages. This type of string is defined once and reused across all languages. Typical use is a geographical names written in the local language, an identifier of some kind, a chemical formula or a Latin scientific name.
Public propertyStatic memberMusicalNotation Literal data field for a musical score written in LilyPond notation.
Public propertyStatic memberQuantity Literal data field for a quantity that relates to some kind of well-defined unit. The actual unit goes in the data values that is entered.
Public propertyStatic memberString 
Public propertyStatic memberTabularData Link to tabular data stored on Wikimedia Commons (or other configured wiki). See "https://www.mediawiki.org/wiki/Help:Tabular_Data" for more documentation about tabular data.
Public propertyStatic memberTime Literal data field for a point in time. Given as a date and time with some precision and boundaries. The time is saved internally in the specified calendar model.
Public propertyStatic memberUrl Literal data field for a URL. URLs are restricted to the protocols also supported for external links in wikitext.
Public propertyStatic memberWikibaseItem Link to other Items on the project. When a value is entered, the project's "Item" namespace will be searched for matching Items.
Public propertyStatic memberWikibaseProperty Link to Properties on the project. When a value is entered, the project's "Property" namespace will be searched for matching Properties.
Top
Methods
 NameDescription
Public methodStatic memberGet Tries to get a property type by its name.
Top
Remarks

For a list of Wikibase built-in data types, see the data type list: d:Special:ListDatatypes. The description of the static properties in this class are mostly copied from the Wikidata data type list.

See Also