Special properties (declarative)

From Linux Web Expert

This help page lists the declarative special properties. Declarative special properties are used to define or declare the behaviour of properties on their properties pages, i.e. they can only be used in namespace "Property". Starting with Semantic MediaWiki 3.0.0Released on an unknown date unknown versions of MediaWiki error messages1 will be issued if a declarative special property is used in other namespaces than that.2

The following table gives an overview of all 19 visible special properties provided by Semantic MediaWiki:

Name Description Help Added Key
Allows value Lists one permissible value for a property help page 1.0 PVAL
Corresponds to Gives the conversion factor for some unit of a physical quantity and the possible names for that unit help page 1.0 CONV
Display units Specifies a comma-separated list of units or formats that a property should use in display help page 1.0 UNIT
Equivalent URI Marks a page in the wiki as having a well-known meaning beyond this wiki, in an external URI help page 1.0 URI
Has type Assigns a datatype to a property help page 1.0 TYPE
Imported from Allows users to reuse elements of external vocabularies directly within the wiki help page 1.0 IMPO
Provides service Adds service links to properties help page 1.0 SERV
Subproperty of Lets you indicate that one property is a subproperty of another help page 1.0 SUBP
Subproperty of Bir mülkün diğerinin alt mülkü olduğunu belirtmenize izin verir help page 1.0 SUBP
Has fields Defines a short list of fields with a fixed type and order for datatype Record help page 1.5.0 LIST
Subcategory of Lets you explicitly indicate that one category is a subcategory of another help page 1.5.0 SUBC
Allows pattern Pattern to match a permissible value help page 2.4.0 PVAP
Display precision of Allows to define the display precision in digits help page 2.4.0 PREC
Has property description Adds localizable context help to properties help page 2.4.0 PDESC
Has uniqueness constraint Allows to restrict value annotation to be unique help page 2.4.0 PVUC
Allows value list Adds a reference to a list of permissible values for a property help page 2.5.0 PVALI
External formatter URI help page 2.5.0 PEFU
Has preferred property label Adds localizable labels to a property help page 2.5.0 PPLB
Change propagation Holds the new property specification of a property or category page help page 3.0.0 CHGPRO

Conversely all special properties not listed here are not declarative.

See also

File:Octocat.png"TypesRegistry.php" – The general characteristics of a special property are defined here.

#scite could not render a citation text for reference "gh:smw:2820" because type "issue" was not assigned to a template.
#scite could not render a citation text for reference "sb:smw:2820" because type "example" was not assigned to a template.


References

  1. ^ sb:smw:2820 
  2. ^ gh:smw:2820