Help:$smwgDVFeatures

is a configuration parameter that sets the available features regarding property data values. The configuration parameter was introduced in .CiteRef::gh:smw:1417

Available options

 * – Disables features to property data values
 *   (PropertyValue) If a property is redirected to a different target (Foo -> Bar) then follow it by default in order to allow query results to be displayed equivalent for both queries without having to adjust (or change) query. This flag is mainly provided to restore backwards compatibility where behavior is not expected to be altered, nevertheless it is recommended that the setting is enabled to improve user friendliness in terms of query execution.
 *   (MonolingualTextValue) is to require a language code in order for a DV to be completed otherwise a MLTV can operate without a language code.


 *   (Allows pattern) to allow regular expression pattern matching when is assigned to user-defined property
 *   (WikiPageValue) is to allow requesting a lookup for a display title and if present will be used as caption for the invoked subject
 * (PropertyValue) in combination with SMW_DV_WPV_DTITLE, If enabled it will attempt to resolve a property label by matching it against a possible assigned value. For example, property "Foo" has "Display title of" "hasFoolishFoo" where "hasFoolishFoo" is being resolved as "Foo" when creating annotations. Currently, this uses an uncached lookup and therefore is disabled by default to avoid a possible performance impact (which has not been established or analyzed).
 * (Uniqueness constraint) to specify that a property can only assign a value that is unique in its literal representation (the state of uniqueness for a value is established by the fact that it is assigned before any other value of the same representation to a property).
 *   (TimeValue) to indicate the CalendarModel if is not a CM_GREGORIAN
 * (Number/QuantityValue) to preserve spaces within unit labels
 *   to support the use of preferred property labels
 *   (PropertyValue) to output a p hint marker on properties that use a preferred label

Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the  call:


 * Removing the feature from the default setting


 * Enable support for the property trait


 * Removing the feature and at the same time enable support for the  property trait