Extension:UserPageEditProtection/pl

From mediawiki.org
This page is a translated version of the page Extension:UserPageEditProtection and the translation is 7% complete.
Podręcznik rozszerzeń MediaWiki
UserPageEditProtection
Status wydania: stabilne
Realizacja Uprawnienia użytkownika
Opis Allows to restrict edit access to user pages
Autor(zy)
Ostatnia wersja 4.1.0 (2020-03-07)
MediaWiki 1.29+
PHP 7.0+
Zmiany w bazie danych Nie
Licencja GNU General Public License 2.0 or later
Pobieranie
README
CHANGELOG
$wgOnlyUserEditUserPage
editalluserpages
Quarterly downloads 13 (Ranked 136th)
Przetłumacz rozszerzenie UserPageEditProtection jeżeli jest dostępne na translatewiki.net

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

  • Download i umieść plik(i) w katalogu o nazwie UserPageEditProtection w swoim katalogu extensions/.
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'UserPageEditProtection' );
    $wgOnlyUserEditUserPage = true;
    
  • Configure user permissions as required
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

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;

Zobacz też