Extension:LockAuthor/de-formal

This page is a translated version of the page Extension:LockAuthor and the translation is 11% complete.
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
LockAuthor
Release status: stable
Implementation User rights
Description Prevents users from editing pages they haven't created
Author(s) VedmakaDiskussion
Maintainer(s) WikiTeq team
Latest version 1.0
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.35+
PHP 7.1+
License GNU General Public License 2.0 or later
Download
README
  • $wgLockAuthorExcludedNamespaces
  • $wgLockAuthorActions
Translate the LockAuthor extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

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

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens LockAuthor im Ordner extensions/ ablegen.
  • Folgenden Code am Ende Ihrer LocalSettings.php hinzufügen:
    wfLoadExtension( 'LockAuthor' );
    
  • Configure as required
  •   Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

Configuration

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

Rights:

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

Example setup

# Prevent anonymous editing
$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

  This extension is professionally maintained by the WikiTeq team.