$smwgAutoRefreshOnPurge
From semantic-mediawiki.org
Configuration parameter details: | |||
Name | $smwgAutoRefreshOnPurge | ||
Description | Sets whether semantic data are refreshed in the store when a page is manually purged Note: Requires parameter $smwgCacheType be set; otherwise purging will have no effect. |
||
Default setting | true |
||
(Other) available settings |
|
||
Software | Semantic MediaWiki | ||
Since version | |||
Until version | still available | ||
Configuration | Cache | ||
Keyword | cache · object cache · auto refresh |
$smwgAutoRefreshOnPurge
is a configuration parameter that sets whether or not to refresh semantic data in the store when a page is manually purged. The configuration parameter was introduced in Semantic MediaWiki 1.9.0Released on 3 January 2014 and compatible with MW 1.19.0 - 1.22.x..
This configuration parameter requires configuration parameter
$smwgCacheType
Sets which object cache Semantic MediaWiki should use to track temporary changes be set to something else than CACHE_NONE
otherwise purging will have no effect.
This parameter obsoletes the extension "SemanticUpdateOnPurge" (MediaWiki.org).
Default setting[edit]
$smwgAutoRefreshOnPurge = true;
This means that the semantic data in the data store will be refreshed when a page is manually purged.
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 the usage of compact links
$smwgAutoRefreshOnPurge = false;
This means that the semantic data in the data store will not be refreshed when a page is manually purged.
See also[edit]
- Help page on automatic query update
- Help page on configuration parameter
$smwgMainCacheType
Sets which object cache Semantic MediaWiki should use to track temporary changes - Help page on configuration parameter
$smwgAutoRefreshSubject
Sets whether or not to refresh the pages on which semantic data is stored. - Help page on configuration parameter
$smwgAutoRefreshOnPageMove
Sets whether or not to refresh semantic data in the store when a page was moved.