Manual:$wgRestrictUserPageEditing
Appearance
| User rights, access control and monitoring: $wgRestrictUserPageEditing | |
|---|---|
| Restricts editing of other users' user pages |
|
| Introduced in version: | 1.47.0 |
| Removed in version: | Still in use |
| Allowed values: | (boolean) |
| Default value: | false |
| Other settings: Alphabetical | By function | |
Details
When enabled, only users with the editalluserpages right may edit other users' user pages: this applies to the whole User namespace (including subpages), but not to user talk pages.
This functionality is adapted from the UserPageEditProtection extension.
Configuration
By default, no group has the editalluserpages right.
So, if you want to restrict editing to administrators only, do the following:
$wgRestrictUserPageEditing = true;
$wgGroupPermissions['sysop']['editalluserpages'] = true;
If the
editalluserpages right is not explicitly granted to any group, only the page owner will be able to edit within the user namespace.