$smwgEnabledDeferredUpdate

From Linux Web Expert

Revision as of 12:40, 19 June 2020 by >Kghbln (chg)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template:Interlanguagelink: en
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


__NOBREADCRUMBLINKS__

$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 an unknown date unknown versions of MediaWiki 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

$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

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

References

  1. ^ gh:smw:1435