$smwgDataTypePropertyExemptionList

From semantic-mediawiki.org


Configuration parameter details:
Name $smwgDataTypePropertyExemptionList
Description Sets which datatypes are exempted from the property registration process
Default setting See below
Software Semantic MediaWiki
Since version
Until version still available
Configuration Miscellaneous
Keyword datatype


$smwgDataTypePropertyExemptionList is a configuration parameter that sets which datatypes are exempted from the property registration process. It was introduced in Semantic MediaWiki 2.5.0Released on 14 March 2017 and compatible with MW 1.23.0 - 1.29.x..1

When a datatype is being exempted from the property registration process no corresponding property will be created allowing to directly add a data value to it. The reason is that doing so does brings no benefit since the datatype requires further definitions to operate using special property "Has fields"Defines a short list of fields with a fixed type and order for datatype Record which holds a many values via a compound of properties defined with their respective datatypes.

Default setting[edit]

$smwgDataTypePropertyExemptionList => array(
	'Record',
	'Reference'
);

This means that by default the datatype "Record"Holds compound property values that consist of a short list of values with fixed type and order and datatype "Reference"Holds a value that associates it to individual defined provenance metadata record are exempted from the property registration process.

Changing the default setting[edit]

Changing the default setting is discouraged for the reasons stated at the top of the page.

See also[edit]

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:1812