Extension:UserPageEditProtection

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
UserPageEditProtection
Release status: stableCategory:Stable extensions
Implementation User rights Category:User rights extensions
Description Allows to restrict edit access to user pages
Author(s)
Latest version 4.1.0 (2020-03-07)
MediaWiki 1.29+Category:Extensions with manual MediaWiki version
PHP 7.0+
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
README
CHANGELOG
$wgOnlyUserEditUserPage
Quarterly downloads 8 (Ranked 108th)
Translate the UserPageEditProtection extension if it is available at translatewiki.net
Category:All extensions

The UserPageEditProtection extension restricts user page edit to the owner of the page and users assigned to groups that have user page edit access through $wgGroupPermissions. This effectively provides users with a group of protected pages, since this protection extends to any subpages of the user page (i.e., User:Hoggwild/sandbox1). Any user assigned to a group with view rights to user pages can read a user page, but only an authorized user may edit it. This extension has no effect on user talk pages.

Installation

Configuration

This extension comes with an extra user right called editalluserpages to allow fine-grained control. By default it is assigned to the "sysop" user group. To assign it to another user group, e.g., userpageeditor, add the following code to the "LocalSettings.php" file right after invoking this extension:

$wgGroupPermissions['userpageeditor']['editalluserpages'] = true;

You revoke permission for the "sysop" user group, for example, by adding the following line:

$wgGroupPermissions['sysop']['editalluserpages'] = false;

See also

Category:Edit extensions Category:Page specific user rights extensions
Category:All extensions Category:Edit extensions Category:Extensions in Wikimedia version control Category:Extensions included in Miraheze Category:Extensions included in WikiForge Category:Extensions which add rights Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:GetUserPermissionsErrors extensions Category:Page specific user rights extensions Category:Stable extensions Category:User rights extensions