Jump to content

Extension:UserPageEditProtection/ru

From mediawiki.org
This page is a translated version of the page Extension:UserPageEditProtection and the translation is 53% complete.
Справка по расширениям MediaWiki
UserPageEditProtection
Статус релиза: стабильно
Реализация Права пользователя
Описание Позволяет ограничить доступ к редактированию пользовательских страниц
Автор(ы)
Последняя версия 4.1.0 (2020-03-07)
MediaWiki 1.29+
PHP 7.0+
Изменения в БД Нет
Лицензия GNU General Public License 2.0 или позднее
Скачать
README
CHANGELOG
$wgOnlyUserEditUserPage
editalluserpages
Ежеквартальные загрузки 9 (Ranked 127th)
Переведите расширение UserPageEditProtection, если оно доступно на 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.

Установка

Настройка

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;

Вы отзываете разрешение для группы пользователей "sysop", например, добавив следующую строку:

$wgGroupPermissions['sysop']['editalluserpages'] = false;

См. также