Help:Configuration parameter "$smwgCreateProtectionRight"
|Description||Sets the user right required to create new properties|
This means that every user can create new properties
|First version supported|
|Last version supported||still available|
|Keyword||user group · gardening|
$smwgCreateProtectionRight is a configuration parameter that sets the user right required to create new properties as part of the authority mode enforceable on a wiki for better semantic gardening.1 By default every user may create new properties. Note that changes to a property specification requires the permission set with this configuration parameter as well. The configuration parameter was introduced in Semantic MediaWiki 3.0.0Released on an unknown date and compatible with MW 1.27.0 - 1.30.x..
$smwgCreateProtectionRight = false;
This means that every user can create new properties.
Changing the default setting
To modify this configuration setting, add one of the following lines to your "LocalSettings.php" file after the
- Restrict the creation of new properties to the "
$smwgCreateProtectionRight = 'smw-pageedit';
This means that only users with the "
smw-pageedit" permission will be able to create new properties. By default this user right is connected with the Curator (
smwcurator) user group. Using the "
smw-pageedit" permission appears to be the most obvious one to use here since edit protection feature is also associated with it. However other permissions including a wiki defined one is possible, too.
- Help page on Authority mode
- Help page on Create protection
- Glossary page on Semantic gardening
- Help page on configuration parameter
$smwgAdminFeaturesSets which administrative features may be used via special page "SemanticMediaWiki" for other user related permission settings
- Semantic MediaWiki: GitHub pull request gh:smw:2600