Help:Configuration parameter "$smwgDataTypePropertyExemptionList"

From semantic-mediawiki.org
Jump to: navigation, search
edit with form (experimental)


Title $smwgDataTypePropertyExemptionList
Description Sets which datatypes are exempted from the property registration process
Default setting See below
Software Semantic MediaWiki
First version supported 2.5.0
Last version supported 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.0.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 the "Has fields" special property which holds a many values via a compound of properties defined with their respective datatypes.

Default setting

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

This means that by default the datatype "Record" and datatype "Reference" are exempted from the property registration process.

Changing the default setting

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

See also

References

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