$smwg­Enabled­Query­Dependency­Links­Store

From semantic-mediawiki.org


Configuration parameter details:
Name $smwgEnabledQueryDependencyLinksStore
Description Sets whether tracking and storing of dependencies of embedded queries may be used
Default setting
false
(Other) available settings
true

Allows to enable tracking and storing of dependencies of embedded queries

Software Semantic MediaWiki
Since version
Until version still available
Configuration Installation · Query settings · Experimental
Keyword sqlstore · query setting · query dependency · query management · experimental


$smwgEnabledQueryDependencyLinksStore is a configuration parameter that sets whether query updates for embedded queries (a.k.a. inline queries) may be used. It was introduced in Semantic MediaWiki 2.3.0Released on 29 October 2015 and compatible with MW 1.19.0 - 1.25.x..1 Starting with Semantic MediaWiki 2.5.0Released on 14 March 2017 and compatible with MW 1.23.0 - 1.29.x. enabling query updates will also enable query references.2

Using the feature connected to this configuration parameter is considered experimental!

Default setting[edit]

$smwgEnabledQueryDependencyLinksStore = false;

This means that embedded query update support is disabled.

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 embedded query update support
$smwgEnabledQueryDependencyLinksStore = true;

This means that embedded query update support is enabled. The wiki will then use the software's query management to track and store dependencies of embedded queries.

Maintenance script "updateQueryDependencies.php"Allows to update all entities that hold embedded queries has to be run after enabling this feature.

See also[edit]

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:1117
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:2290