From semantic-mediawiki.org

Configuration parameter details:
Name $smwgQueryDependencyAffiliatePropertyDetectionList
Description Sets affiliate special properties that additionally initiate a query dependency update when value change occurs
Default setting
[ ]
Software Semantic MediaWiki
Since version
Until version
Configuration Installation · Store settings · Experimental
Keyword sqlstore · query setting · query dependency · query management · experimental

$smwgQueryDependencyAffiliatePropertyDetectionList is a configuration parameter that sets affiliate special properties that additionally initiate a query dependency update, i.e. that when an value change to a property value occurs query dependencies for the related entity are recorded as well. It was introduced in Semantic MediaWiki 2.4.0Released on 9 July 2016 and compatible with MW 1.19.0 - 1.27.x.1 as configuration parameter $smwgQueryDependencyAffiliatePropertyDetectionlist2 but was renamed in Semantic MediaWiki 2.5.1Released on 22 April 2017 and compatible with MW 1.23.0 - 1.29.x..3 The former configuration parameter name as well as the configuration parameter itself will be removed with the release of Semantic MediaWiki 3.1.0Released on 23 September 2019 and compatible with MW 1.31.0 - 1.33.x. in 2019.4

This configuration parameter only takes effect if the embedded query update feature was enabled and is considered experimental.

For example, special property "Display title of" is most likely such property where a change would normally not be reflected in query results (as it not directly linked to a query) but when added as an affiliated, changes to its content will be handled as if it is linked to an embedded entity.5

Default setting[edit]

$smwgQueryDependencyAffiliatePropertyDetectionList = [ ];

This means that by default no special property is listed as an affiliate property triggering a query dependency update.

Changing the default setting[edit]

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

Enable query dependency updates on changes to special property "Display title of"
$smwgQueryDependencyAffiliatePropertyDetectionList = [

See also[edit]


  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:1626
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:1135
  3. ^  Semantic MediaWiki: GitHub pull request gh:smw:2364
  4. ^  Semantic MediaWiki: GitHub pull request gh:smw:3644
  5. ^  Semantic MediaWiki: GitHub issue comment gh:smw:1617:223278247
  6. ^  Semantic MediaWiki: Source code quote for "propertyLabels"