$smwg­Enable­Update­Jobs

From Linux Web Expert

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


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

Allows to disable tasks being deferred to the job queue

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:

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