$smwg­Enable­Update­Jobs

From semantic-mediawiki.org


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


$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 10 July 2008 and compatible with MW 1.11.x - 1.14.x..

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"Allows to rebuild all the semantic data for a selected data backend/store might be necessary.

Note that the following configuration parameters are dependent on the setting to this configuration parameter:

Default setting[edit]

$smwgEnableUpdateJobs = true;

This means that tasks are deferred until after a page was edited 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 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[edit]