$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
NoteNote: Requires parameter $smwgCacheType be set; otherwise purging will have no effect.
Default setting
true
(Other) available settings
false

Allows to disable refreshing data when a page is manually purged

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 $smwgCacheTypeSets 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.

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]