Help:Configuration parameter "$smwgEnabledQueryDependencyLinksStore"

From semantic-mediawiki.org
Jump to: navigation, search
edit with form


Title $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
First version supported
Last version supported still available
Configuration Installation · Query settings
Keyword sqlstore · query setting · query dependency · query management

$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

$smwgEnabledQueryDependencyLinksStore = false;

This means that embedded query update support is disabled.

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 the display of incoming links
$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 "rebuildData.php"Allows to rebuild all the semantic data for a selected data backend/store has to be run after enabling this feature.

See also

References

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