Status: | effective |
Progress: | 100% |
Version: | 2.4.0+ |
$smwgEnableUpdateJobs
Configuration parameter details: | |||
Name | $smwgEnableUpdateJobs | ||
Description | Sets whether tasks are deferred until after a page was edited by using the job queue | ||
Default setting | true | ||
(Other) available settings |
|
||
Software | Semantic MediaWiki | ||
Since version | |||
Until version | still available | ||
Configuration | Installation | ||
Keyword | performance · job queue |
__NOBREADCRUMBLINKS__
$smwgEnableUpdateJobs
is a configuration parameter that defers some tasks until after a page was edited by using the MediaWiki job queueing system. The configuration parameter was introduced in Semantic MediaWiki 1.2.0Released on an unknown date unknown versions of MediaWiki.
For example, when the type of a property is changed, all affected pages will be scheduled for (later) update. If a wiki generates too many jobs in this way, the following setting can be used to disable jobs. Note that this will cause some parts of the semantic data to get out of date, so that manual modifications (page edits, purging page cache) or the use of maintenance script "rebuildData.php"No description was provided. might be necessary.
Note that the following configuration parameters are dependent on the setting to this configuration parameter:
- configuration parameter
$smwgEnabledDeferredUpdate
Sets whether updates to pages are queued and executed after edits (from Semantic MediaWiki 2.4.0Released on an unknown date unknown versions of MediaWiki) - 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 (Semantic MediaWiki 1.9.0.1Released on an unknown date unknown versions of MediaWiki to Semantic MediaWiki 2.3.1Released on an unknown date unknown versions of MediaWiki)
Default setting
$smwgEnableUpdateJobs = true;
This means that tasks are deferred until after a page was edited 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 tasks being deferred to the job queue
$smwgEnableUpdateJobs = false;
This means that tasks are not deferred until after a page was edited by using the job queue.
See also
- Help page about the job queue
- Help page about
UpdateJob
handler - Help page on configuration parameter
$smwgEnabledDeferredUpdate
Sets whether updates to pages are queued and executed after edits