|Configuration parameter details:|
|Description||Sets experimental features|
|Default setting||See below|
|Until version||still available|
|Configuration||Query performance · Store settings · Miscellaneous|
|Keyword||query features · query performance · store setup · store · mysql · postgresql|
$smwgExperimentalFeatures is a configuration parameter to set experimental features 1 that are considered stable. However they can be disabled in case any unforeseen behaviour is being observed. The configuration parameter was introduced in Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x.. The default setting for this configuration parameter was changed with the introduction of a new option in Semantic MediaWiki 3.1.0Released on 23 September 2019 and compatible with MW 1.31.0 - 1.33.x..2
$smwgExperimentalFeatures = SMW_QUERYRESULT_PREFETCH;
SMW_QUERYRESULT_PREFETCH– Sets that the prefetch query feature3 for resolving query requests is being used. This option is specific to relational data stores, i.e. MySQL and PostgreSQL.
Changing the default setting
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the
- Disabling all experimental query features
To disable all browse features just remove all constants as shown in the above section on available options:
$smwgExperimentalFeatures = '';
Note: "gh:smw:2461" was removed with "gh:smw:3277" prior to the release of SMW 3.0.0.