Расширение:AuthorProtect
Appearance
Статус релиза: стабильно |
|
|---|---|
| Реализация | Права пользователя, Действие страницы |
| Описание | Allows the author of a page to protect it from other users |
| Автор(ы) | Ryan Schmidt (Skizzerzобсуждение) |
| Последняя версия | 1.4.0 (2017-11-25) |
| MediaWiki | 1.29+ |
| Лицензия | GNU General Public License 2.0 или позднее |
| Скачать | |
|
|
|
|
| Переведите расширение AuthorProtect, если оно доступно на translatewiki.net | |
The AuthorProtect extension allows page authors to protect pages from non-authors on a page-by-page basis. Authors with the 'authorprotect' permission will gain a protect tab on pages that gives them (author) access to this interface. Because logs and anonymous users don't mix very well (as with the fact that all anonymous users share the same user id), anonymous users are unable to use this extension regardless of if they have the 'authorprotect' right or not.
Do not manually assign the 'author' permission to any non-privileged group. Do not assign the 'author' right via
$wgGroupPermissions, except to those who you want to be able to edit author-protected pages. This right is automatically assigned to the author of the page. Assigning this right via $GroupPermissions gives that group the ability to edit all author-protected pages, regardless of if they are the author of the page or not (by default user group administrators have this right).
Установка
- Скачайте и распакуйте файл(ы) в папку с названием
AuthorProtectв вашей папкеextensions/.
Вместо этого разработчикам и соавторам кода следует установить расширение из Git, используя:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AuthorProtect
- Добавьте следующий код в конце вашего файла LocalSettings.php:
wfLoadExtension( 'AuthorProtect' );
Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.
См. также
| Это расширение включено в следующие вики-фермы/хостинги и/или пакеты: Это не исчерпывающий список. Некоторые вики-фермы/хостинги и/или пакеты могут содержать это расширение, даже если они не перечислены здесь. Всегда сверяйтесь со своими вики-фермами/хостингами или комплектами/бандлами для подтверждения. |
