Extension:LockAuthor/pl

This page is a translated version of the page Extension:LockAuthor and the translation is 21% complete.
Other languages:
Podręcznik rozszerzeń MediaWiki
OOjs UI icon advanced-invert.svg
LockAuthor
Status wydania: stabilne
Realizacja Uprawnienia użytkownika
Opis Prevents users from editing pages they haven't created
Autor(zy) Vedmakadyskusja
Opiekun(owie) WikiTeq team
Ostatnia wersja 1.0
Polityka zgodności Follows the MediaWiki version lifecycle. Master is not backward compatible.
MediaWiki 1.35+
PHP 7.1+
Licencja GNU General Public License 2.0 or later
Pobieranie
README
  • $wgLockAuthorExcludedNamespaces
  • $wgLockAuthorActions
  • editall
Przetłumacz rozszerzenie LockAuthor jeżeli jest dostępne na translatewiki.net

Sprawdź wykorzystywanie i matrycę wersji.

Problemy Otwarte zadania · Zgłoś błąd

This extension prevents users from editing pages they haven't created and uses a blocking strategy, so it requires you to manage "edit", "create" permissions granting by yourself.

Also, this extension is a drop-in replacement for the EditOwn extension.

A common case for using this extension is to grant users an "edit" right, so everyone will be allowed to create new pages, but this extension will block the editing of other pages created by other users.

This extension was created for the WikiWorks.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie LockAuthor w folderze extensions/.
  • Dodaj poniższy kod na dole swojego pliku LocalSettings.php:
    wfLoadExtension( 'LockAuthor' );
    
  • Configure as required
  •   Zrobione – Przejdź do Special:Version na swojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Konfiguracja

  • $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

Przykład

# 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;

Zobacz też

  This extension is professionally maintained by the WikiTeq team.