Status: | effective |
Progress: | 100% |
Version: | 2.4.0+ |
$smwgEnabledDeferredUpdate
Configuration parameter details: | |||
Name | $smwgEnabledDeferredUpdate | ||
Description | Sets whether updates to pages are queued and executed after edits | ||
Default setting | true | ||
(Other) available settings |
|
||
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 $smwgOnDeleteAction
Sets 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
- Help page on deferred updates
- Help page about the job queue
- Help page about
UpdateJob
handler - Help page on configuration parameter
$smwgEnableUpdateJobs
Sets whether tasks are deferred until after a page was edited by using the job queue - Help page on configuration parameter
$smwgFulltextDeferredUpdate
Sets the number of expected full-text search index updates - Help page on query marker
@deferred
References
- ^ gh:smw:1435