Extension:UserGroups/zh
此扩展目前不再活跃维护! 尽管它可能仍然工作,但任何错误报告或功能请求将很可能被忽略。 如果您对承担开发与维护该扩展的任务工作感兴趣,您可以请求自己的存储库。 As a courtesy, you may want to contact the author. 或者您应移除该模板,并在页面的{{Extension }}信息框中将您自己列为扩展的维护人员。 |
UserGroups 发行状态: 不再維護 |
|
---|---|
实现 | 特殊页面 , 用户权限 |
描述 | Provides finer control over user groups and user rights. |
作者 | Withoutaname |
最新版本 | 1.0.0 |
MediaWiki | 1.24+ |
PHP | 5.3.10+ |
数据库更改 | No |
许可协议 | GNU通用公眾授權條款2.0或更新版本 |
下載 | |
modifygroups |
|
季度下載量 | 16 (Ranked 124th) |
前往translatewiki.net翻譯UserGroups扩展 | |
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.
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;