$smwgChangePropagationWatchlist
Configuration parameter details: | |
Name | $smwgChangePropagationWatchlist |
Description | Sets the properties that are relevant for property change propagation |
Default setting | See below |
Software | Semantic MediaWiki |
Since version | |
Until version | still available |
Configuration | Basic settings · Miscellaneous |
Keyword | property propagation · property page |
$smwgDeclarationProperties
is a configuration parameter that sets the properties that are relevant for property change propagation, i.e. special properties that are relevant for declaring the behavior of a user defined property. This means that changing their values on a property page requires that all pages that use the property must be processed again. For example, if annotations to special property "Allows value"Lists one permissible value for a property (_PVAL
) for property "Foo" change, then pages using property "Foo" must be processed again. Similarly changes on a category are tracked when its hierarchy structure was changed hereby allowing related entities to be reevaluated.
A special case is special property "Subcategory of"Lets you explicitly indicate that one category is a subcategory of another (_SUBC
) where the declarations are by default made automatically on the category and not properties pages. Change propagation, i.e. the reevaluation of related entities is done when the category hierarchy is being altered through changing category assignments.
The configuration parameter was introduced in Semantic MediaWiki 1.5.0Released on 7 March 2010 and compatible with MW 1.14.x - 1.17.x.. Prior to Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x. it was called $smwgDeclarationProperties
.1 The default setting was last changed with Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x. aiming on further improving property change propagation.23
Default setting[edit]
$smwgDeclarationProperties = [
'_PVAL', '_LIST', '_PVAP', '_PVUC', '_PDESC', '_PPLB', '_PREC', '_PDESC', '_SUBP', '_SUBC'
];
Changing the default setting[edit]
This configuration parameter is not normally changed by users but by extensions that add new types that have their own additional declaration properties. Moreover category hierarchy changes should always be tracked, too. See the "propertyLabels" section of the respective internationalization file4 for a complete list of property keys and the special properties they stand for that have to be added to set changes to this configuration parameter. (→ Search for special properties by key)
See also[edit]
- Help page on property change propagation
- Help page on property pages
- Help page on property keys (→ Search for special properties by key)
- Help page on configuration parameter
$smwgChangePropagationProtection
Sets whether property pages are protected from editing while a property change propagation is being processed
References
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2761
- ^ Semantic MediaWiki: GitHub issue gh:smw:2494
- ^ | Semantic MediaWiki: GitHub pull request gh:smw:2776
- ^ Semantic MediaWiki: Source code quote for "propertyLabels"