$smwgEnabledDeferredUpdate

From semantic-mediawiki.org


Configuration parameter details:
Name $smwgEnabledDeferredUpdate
Description Sets whether updates to pages are queued and executed after edits
Default setting
true
(Other) available settings
false

Allows to disable deferred updates via the job queue

Software Semantic MediaWiki
Since version
Until version still available
Configuration Job queue
Keyword performance · job queue · deferred update


$smwgEnabledDeferredUpdate is a configuration parameter that sets that updates to pages are added to the job queue and executed after page edits. It was introduced in Semantic MediaWiki 2.4.0Released on 9 July 2016 and compatible with MW 1.19.0 - 1.27.x. thus obsoleting configuration parameter $smwgOnDeleteActionSets whether the update process for when a page / property and its value assignments are deleted should be send to the job queue.1

By default Semantic MediaWiki will act for update operations as it is done for a lot of update operations with MediaWiki itself for versions 1.26 and later. This is the recommended behavior since this should improve page responsiveness for purge and move actions significantly. This configuration parameter should not influence wikis using MediaWiki 1.25 and lower. In case some unexpected behavior is being observed deferred updates can be disabled using this configuration parameter.

Default setting[edit]

$smwgEnabledDeferredUpdate = true;

This means that updates to pages are deferred and queued thus executed after edits by using the job queue.

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:

Disable updates being deferred to the job queue
$smwgEnabledDeferredUpdate = false;

This means that updates to pages are not deferred and queued thus executed after edits by using the job queue.

See also[edit]

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:1435