Extension:UserGroups/zh
此扩 如果您对承担开发与维护该扩 |
UserGroups 发行 |
|
---|---|
实现 | |
描述 | Provides finer control over user groups and user rights. |
Withoutaname | |
1.0.0 | |
MediaWiki | 1.24+ |
PHP | 5.3.10+ |
No | |
许可协议 | GNU |
modifygroups |
|
10 (Ranked 123rd) | |
|
|
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
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.
Installation
下 载文 件 ,并将解 压后的 UserGroups
文 件 夹移动到extensions/
目 录中。
开发者 和代 码贡献 人 员应从Git安 装 扩展,输入:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UserGroups将 下 列代 码放置 在 您的LocalSettings.php的 底部 :wfLoadExtension( 'UserGroups' );
-
完成 –在 您的wiki上 导航至 Special:Version,以验证已成功 安 装 扩展。
User rights
- 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;