Erweiterung:LockAuthor

This page is a translated version of the page Extension:LockAuthor and the translation is 47% complete.
MediaWiki-Erweiterungen
OOjs UI icon advanced-invert.svg
LockAuthor
Freigabestatus: stabil
Einbindung Benutzerrechte
Beschreibung Prevents users from editing pages they haven't created
Autor(en) VedmakaDiskussion
Betreuer WikiTeq team
Letzte Version 1.0
Kompatibilitätspolitik Für jede MediaWiki-Version, die ein Long Term Support Release ist, existiert ein entsprechender Zweig in der Erweiterung.
MediaWiki 1.35, 1.39
PHP 7.1+
Lizenz GNU General Public License 2.0 oder neuer
Herunterladen
README
  • $wgLockAuthorExcludedNamespaces
  • $wgLockAuthorActions
Übersetze die LockAuthor-Erweiterung, wenn sie auf translatewiki.net verfügbar ist
Probleme Offene Aufgaben · Einen Fehler melden

LockAuthor is a MediaWiki extension that prevents users from editing pages they have not created.

It does not itself allow users to edit pages that they have created; for that, you will have to make sure the standard "edit" right is correctly set.

This extension is a drop-in replacement for the EditOwn extension, which was archived in 2018.

This extension was created for WikiWorks.

Installation

Konfiguration

  • $wgLockAuthorExcludedNamespaces - array of namespaces to be excluded from checks
  • $wgLockAuthorActions - array of actions to be checked (Standard: [ 'edit', 'create' ])

Rechte:

  • editall - grant this right to a group to allow bypassing extension's restrictions

Beispieleinrichtung

# verhindert anonymes Bearbeiten
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createpage'] = false;

# Allow regular users to edit pages
$wgGroupPermissions['user']['edit'] = true;
$wgGroupPermissions['user']['createpage'] = true;

wfLoadExtension( 'LockAuthor' );
// LockAuthor will limit users edit right only to pages created by them

# Allow sysop to edit all pages
$wgGroupPermissions['sysop']['editall'] = true;

Siehe auch

  Diese Erweiterung wird vom WikiTeq-Team professionell gewartet.