Права в вики

Материал из 2trg
Версия от 14:10, 22 ноября 2020; Trg (обсуждение | вклад) (Новая страница: « == Пользователи, доступы, учетки == If you are trying to set up a Simple private wiki, this is done by adding the following options to…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Пользователи, доступы, учетки

If you are trying to set up a Simple private wiki, this is done by adding the following options to the MediaWiki configuration file LocalSettings.php :

  1. Disable reading by anonymous users

$wgGroupPermissions['*']['read'] = false;

  1. Disable anonymous editing

$wgGroupPermissions['*']['edit'] = false;

  1. Prevent new user registrations except by sysops

$wgGroupPermissions['*']['createaccount'] = false; For restricting only editing but not reading, omit the first instruction, leaving in place the last two.

Omit also the last instruction if you want to allow new user registrations.


https://superuser.com/questions/1423593/mediawiki-how-to-totally-prevent-anonymous-users-from-register

https://www.hostknox.com/knowledgebase/650/How-to-prevent-users-from-creating-pages-in-MediaWiki.html

https://www.hostknox.com/knowledgebase/632/How-to-disable-and-enable-user-account-creation-in-MediaWiki.html

https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation

Удаление пользователей

Вообще, удаление пользователей не предусмотрено, но:

https://www.mediawiki.org/wiki/Extension:UserMerge