$smwgChangePropagationProtection

From semantic-mediawiki.org


Configuration parameter details:
Name $smwgChangePropagationProtection
Description Sets whether property pages are protected from editing while a property change propagation is being processed
Default setting
true
(Other) available settings
false

Allows to disable edit protection of a property page during an active property change propagation process

Software Semantic MediaWiki
Since version
Until version still available
Configuration Job queue · Miscellaneous
Keyword property propagation · property page · edit protection · editing


$smwgChangePropagationProtection is a configuration parameter that sets whether property and category pages are protected from editing while a property change propagation is being processed. It serves as an emergency configuration parameter to unlock the property pages in case some "ChangePropagationDispatchJob" went missing thus making the property page inaccessible for further editing.1 Normally this should not be necessary though since a purge should be able to fetch a missing update by scheduling a new job. This setting was introduced in Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x..2

Default setting[edit]

$smwgChangePropagationProtection = true;

This means that the protection of property and category pages during property change propagation is enabled.

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 change propagation protection
$smwgChangePropagationProtection = false;

This means that edit protection of property and category pages is suspended even though a property change propagation was triggered, i.e. they can still be edited. This may for example be necessary if someone manually cleans the job table and an existing "ChangePropagationDispatchJob" was not finished meaning that at this point the property page still continues to be annotated with the special property "Change propagation"Holds the new property specification of a property or category page (_CHPRO) and so does the locked. Thus this setting allows to trigger the change propagation process again.

It is recommended to switch the setting to this configuration parameter back to true after possible problems with locked pages not being cleared have been fixed.

See also[edit]