Help:Configuration parameter "$smwgQueryDependencyPropertyExemptionList"

Jump to: navigation, search
edit with form (experimental)

Title $smwgQueryDependencyPropertyExemptionList
Description Sets special properties that should be exempted from embedded queries updates
Default setting See below
Software Semantic MediaWiki
First version supported
Last version supported still available
Configuration Installation · Store settings
Keyword sqlstore · query setting · query dependency · query management

$smwgQueryDependencyPropertyExemptionList is a configuration parameter that sets special properties that should be exempted from a query dependency update, i.e. that when an value change to a property value occurs query dependencies for the related entity are not recorded. It was introduced in Semantic MediaWiki 2.3.0 as configuration parameter $smwgPropertyDependencyDetectionBlacklist1 but was renamed in Semantic MediaWiki It was further renamed from $smwgQueryDependencyPropertyExemptionlist with Semantic MediaWiki The former configuration parameter name will be removed with the release of Semantic MediaWiki 3.1.0 in mid 2018.4

NoteNote: This setting only takes effect if the embedded query update feature was enabled.

Default setting

$smwgQueryDependencyPropertyExemptionList = array( '_MDAT', '_SOBJ', '_ASKDU' );

This means that by default the following special properties are not triggering a query dependency update:

Changing the default setting

To modify this configuration setting, add one of the following lines to your "LocalSettings.php" file after the enableSemantics() call:

Disable query dependency updates on changes to special propertes "Is a new page" and "Last editor is"
$smwgQueryDependencyPropertyExemptionList = array_merge(
        $smwgQueryDependencyPropertyExemptionList, array(

See also