v3.0.0+
Status: | effective |
Progress: | 100% |
Version: | 3.0.0+ |
$smwgAutoRefreshOnPurge
From Linux Web Expert
Template:Interlanguagelink: en
Configuration parameter details: | |||
Name | $smwgAutoRefreshOnPurge | ||
Description | Sets whether semantic data are refreshed in the store when a page is manually purged File:OOjs UI icon lightbulb-yellow.svg <translate> Note:</translate>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 |
__NOBREADCRUMBLINKS__
$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 an unknown date unknown versions of MediaWiki.
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
$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
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
- 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.