$smwgQueryDependencyAffiliatePropertyDetectionList
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 $smwgQueryDependencyAffiliatePropertyDetectionlist
2 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
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 = [
_DTITLE
];
- See the "propertyLabels" section of the respective internationalization file6 for a complete list of property keys and the special properties they stand for that have to be added to set changes to this configuration parameter. (→ Search for special properties by key)
See also[edit]
- Help page on embedded query updates
- Help page on configuration parameter
$smwgEnabledQueryDependencyLinksStore
Sets whether tracking and storing of dependencies of embedded queries may be used - Help page on configuration parameter
$smwgQueryDependencyPropertyExemptionList
Sets special properties that should be exempted from embedded queries updates - Help page on configuration parameter
$smwgPostEditUpdate
Sets how many jobs should be executed as part of a post-edit event
References
- ^ Semantic MediaWiki: GitHub pull request gh:smw:1626
- ^ Semantic MediaWiki: GitHub pull request gh:smw:1135
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2364
- ^ Semantic MediaWiki: GitHub pull request gh:smw:3644
- ^ Semantic MediaWiki: GitHub issue comment gh:smw:1617:223278247
- ^ Semantic MediaWiki: Source code quote for "propertyLabels"