Extension:UserGroups/ru

From Linux Web Expert

Справка по расширениям MediaWiki
UserGroups
Статус релиза: не поддерживается
Реализация Служебная страница , Права пользователя
Описание Provides finer control over user groups and user rights.
Автор(ы) Withoutaname
Последняя версия 1.0.0
MediaWiki 1.24+
PHP 5.3.10+
Изменения в БД Нет
Лицензия GNU General Public License 2.0 или позднее
Скачать
modifygroups
Ежеквартальные загрузки Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Использование общедоступными вики Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Переведите расширение UserGroups, если оно доступно на translatewiki.net

The UserGroups extension adds a special page called Special:UserGroups that allows the user accessing it the ability to create, delete, modify and configure user groups in terms of the user rights registrations or associations with it. It could be thought of as a revival of the now defunct Extension:GroupPermissionsManager . This is different from Special:UserRights, which only determines how to allocate user rights to certain users based upon membership of certain user groups.

It is not possible to configure $wgAddGroups or $wgRemoveGroups that way; such must be done in LocalSettings.php. Also, be careful when removing groups - doing so incorrectly can lock you out of your wiki! It is not possible to remove some system-created rights (such as CheckUser) completely through this extension; see Руководство:Права пользователя instead on how to do this manually.

If you are still locked out, the last options are to have someone else grant you the groups again, or at worst (if you are the only one) to grant yourself the rights manually via the database in the user_groups table.

Установка

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/UserGroups/ru</tvar>|Download]] and move the extracted <tvar name=name>UserGroups/ru</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UserGroups%2Fru
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'UserGroups/ru' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Права участников

  • modifygroups - Determines control of access to the Special:UserGroups special page interface, or in essence who is allowed to modify and configure user groups and their associated permissions. By default, this access is restricted to bureaucrats.

However, if you want to grant this right to other groups, add this to LocalSettings.php .

$wgGroupPermissions['sysop']['modifygroups'] = true;

См. также