Help:User rights and groups/zh

用户权限和'用户组是MediaWiki的用户权限系统的核心.

用户权限给予用户进行某些操作的权限，例如“编辑”权限允许用户编辑未被保护的页面，“删除”权限允许用户删除页面. 用户权限与用户组捆绑，与维基上的多个不同的用户角色有关，例如“用户”、“管理员”以及“机器人”.

一个维基上的所有用户默认属于“用户”组. 高级用户（例如行政员）可以像其他用户授予一个或多个附加的用户组.

维基上的用户权限与用户组
默认情况下，使用MediaWiki的维基上有六个用户组：


 * – 应用于所有访问网站的访客，包括没有登入的用户
 * – 应用于所有登录的用户
 * – 应用于所有满足一定要求的登录用户
 * – 可以授予机器人，使得其他用户可以在最近更改和监视列表中隐藏机器人的编辑
 * – 可以授予可信用户，让他们得以进行一些关键的管理操作，例如删除、封禁、保护页面，以及编辑系统界面.
 * – 可以授予可信用户，允许他们授予用户组，或移除用户组.

前三个用户组是“默认”用户组，是用户自动获得的. 后三个用户组可以手动授予及移除.

Special:ListGroupRights 特殊页面列出了一个维基上存在的用户组，以及授予这些用户组的权限. 第一行中出现的，在旁边的权限是所有访问一个维基的用户获得的权限，包括未登入用户.

检查你的用户组
要查看你的账户属于什么用户组，你可以：


 * 查看参数设置页面（Special:Preferences）查看“”旁边的内容.
 * 前往Special:ListUsers，输入你的用户名，点击“”
 * Go to Special:UserRights, enter your user name in the box, click "", and view the groups you belong to.

The latter two techniques can also be used to view the user groups of other users.

Modifying the way user rights and groups are set up
To create new user groups or change the rights that are assigned to a group, it is necessary to change the wiki's configuration, which can only be done by server administrators. Contact your site's server administrator for more information, or visit.

Assigning and revoking user groups
Adding and removing user groups is done using the Special:UserRights special page.

For regular users, Special:UserRights is read-only. If you would like to join a new group or leave one you are already in, contact a bureaucrat on your wiki. A list of bureaucrats can be found at Special:ListUsers/bureaucrat.

You will be able to assign or revoke user groups when at least one of the following applies:


 * You belong to a user group with the  right. This right is assigned to bureaucrats on most wikis.
 * You belong to a user group that is specifically allowed to add and/or remove a specific set of user groups.
 * You are viewing Special:UserRights for your own account, and you belong to a user group that has permission to assign user groups to your own account only.

User group expiry
A user may be assigned to a user group for a limited duration. This can be done by selecting a duration from the "" drop-down menu. Alternatively, you can select "" and enter your own time period in the box. Relative periods like "10 weeks", as well as absolute dates or times like "2020-12-31", are accepted.

When the expiry time arrives, the user is no longer considered to be a member of that group. No log entry is written at that time, similar to what happens when a user's block or a page's protection expires.

If you have permission to add a certain user group, but not to remove it, you may only move that group's expiry time further into the future (that is, lengthen the user's membership of that group). This is to prevent the circumvention of restrictions on removing groups by changing the expiry to (say) 1 second. When this restriction exists, the "#" symbol appears next to the name of the user group.

