Erweiterung:UserPageEditProtection

From mediawiki.org
This page is a translated version of the page Extension:UserPageEditProtection and the translation is 75% complete.
MediaWiki-Erweiterungen
OOjs UI icon advanced-invert.svg
UserPageEditProtection
Freigabestatus: stabil
Einbindung Benutzerrechte
Beschreibung Allows to restrict edit access to user pages
Autor(en)
Letzte Version 4.1.0 (2020-03-07)
MediaWiki 1.29+
PHP 7.0+
Datenbankänderungen Nein
Lizenz GNU General Public License 2.0 oder neuer
Herunterladen
README
CHANGELOG
$wgOnlyUserEditUserPage
Quarterly downloads 13 (Ranked 156th)
Übersetze die UserPageEditProtection-Erweiterung, wenn sie auf translatewiki.net verfügbar ist

The UserPageEditProtection extension restricts user page edit to the owner of the page (the user) 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

Für Benutzer, die MediaWiki in der Version 1.34 und früher betreiben:

Die oben stehenden Anweisungen beschreiben die neue Installationsanweisung für diese Erweiterung unter der Verwendung von wfLoadExtension(). Wird diese Erweiterung in einer dieser früheren Versionen (MediaWiki 1.34 und früher)  – an Stelle von wfLoadExtension( 'UserPageEditProtection' ); – installiert, benutze:

require_once "$IP/extensions/UserPageEditProtection/UserPageEditProtection.php";

Konfiguration

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;

Siehe auch