Help:User rights and groups
<languages /> Template:PD Help Page <translate> User rights and user groups form the backbone of MediaWiki's user permissions system. </translate>
<translate> User rights give you permission to do certain tasks—for example, the <tvar name=edit>edit</tvar> right allows you to edit unprotected pages, and the <tvar name=delete>delete</tvar> right allows you to delete pages.</translate>
<translate> User rights are bundled into user groups, which correspond to the various roles on the wiki—for example, <tvar name=users>Users</tvar>, <tvar name=admins>Administrators</tvar>, and <tvar name=bots>Bots</tvar>.</translate>
<translate> All users on a wiki belong to the "<tvar name=users>Users</tvar>" group by default.</translate> <translate> Privileged users (normally bureaucrats) may assign users to one or more additional user groups.</translate>
<translate>
User rights and groups on your wiki
By default, MediaWiki wikis come with the following user groups: </translate>
- (all) – <translate> applies to every visitor to your site, including those who do not log in</translate>
- Users – <translate> applies to all logged-in users</translate>
- Autoconfirmed users – <translate> applies to all logged-in users who meet [[<tvar name=1>Special:MyLanguage/Manual:Autoconfirmed users</tvar>|certain thresholds]]</translate>
- Bots – <translate> can be assigned to [[<tvar name=1>Special:MyLanguage/Help:Bots</tvar>|bots]], in order to allow users to hide bot edits from recent changes or watchlists</translate>
- Administrators – <translate> can be assigned to trusted users, giving them permission to perform key administrative tasks such as [[<tvar name=1>Special:MyLanguage/Help:Deletion and undeletion</tvar>|deletion]], [[<tvar name=2>Special:MyLanguage/Help:Blocking users</tvar>|user blocking]], [[<tvar name=3>Special:MyLanguage/Help:Protecting and unprotecting pages</tvar>|page protection]], and editing the interface</translate>
- Bureaucrats – <translate> can be assigned to trusted users, giving them permission to assign/revoke user groups</translate>
- Suppressors - a group that has permission to suppress (hide) and delete unwanted page revisions and log entries
- Interface administrators - a group that has permission to edit CSS- and JavaScript-defining wiki pages
<translate> The first three groups are "implicit" groups, which are assigned to users automatically as required.</translate> <translate> Only the last five groups can be manually assigned or revoked.</translate>
<translate> The <tvar name=rights>Special:ListGroupRights</tvar> special page lists the user groups that exist on a wiki, and lists the rights that are assigned to those groups.
Checking your user groups
To check which user groups your account belongs to, do one of the following:
- Visit your Preferences page (<tvar name=pref>Special:Preferences</tvar>) and look next to "<tvar name=member>Member of groups:</tvar>".</translate>
<translate>
- Go to <tvar name=list>Special:ListUsers</tvar>, enter your username in the box, and click "<tvar name=show>Show</tvar>".</translate>
- <translate> Go to <tvar name=rights>Special:UserRights</tvar>, enter your username in the box, click "<tvar name=load>Load user groups</tvar>", and view the groups you belong to.</translate>
<translate> 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
</translate> <translate> 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.</translate> <translate> Contact your site's server administrator for more information, or visit <tvar name=1>Manual:User rights</tvar>.</translate>
<translate>
Assigning and revoking user groups
Adding and removing user groups is done using the <tvar name=rights>Special:UserRights</tvar> special page.
For regular users, <tvar name=rights>Special:UserRights</tvar> is read-only.</translate>
<translate> If you would like to join a new group or leave one you are already in, contact a bureaucrat on your wiki.</translate> <translate> A list of bureaucrats can be found at <tvar name=1>Special:ListUsers/bureaucrat</tvar>.</translate>
<translate> 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 <tvar name=rights>
userrights</tvar> right.</translate> <translate> This right is assigned to bureaucrats on most wikis.</translate>
<translate>
- You belong to a user group that is specifically allowed to add and/or remove a specific set of user groups.</translate>
<translate>
- You are viewing <tvar name=rights>Special:UserRights</tvar> for your own account, and you belong to a user group that has permission to assign user groups to your own account only.
See the page <tvar name=man>Manual:Setting user groups in MediaWiki</tvar> for further details.
User group expiry
</translate> Template:MW 1.29 <translate> A user may be assigned to a user group for a limited duration.</translate> <translate> This can be done by selecting a duration from the "<tvar name=expires>Expires:</tvar>" drop-down menu.</translate> <translate> Alternatively, you can select "<tvar name=other>Other time:</tvar>" and enter your own time period in the box.</translate> <translate> Relative periods like "<tvar name=1>10 weeks</tvar>", as well as absolute dates or times like "<tvar name=2>2020-12-31</tvar>", are accepted.</translate>
<translate> When the expiry time arrives, the user is no longer considered to be a member of that group.</translate> <translate> No log entry is written at that time, similar to what happens when a user's block or a page's protection expires.</translate>
<translate> 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).</translate> <translate> This is to prevent the circumvention of restrictions on removing groups by changing the expiry to (say) 1 second.</translate> <translate> When this restriction exists, the "<tvar name=1>#</tvar>" symbol appears next to the name of the user group.</translate>
You may alter the groups this user is in:
- A checked box means the user is in that group.
- An unchecked box means the user is not in that group.
- A * indicates that you cannot remove the group once you have added it, or vice versa.
- A # indicates that you can only put back the expiration time of this group membership; you cannot bring it forward.
<translate>
See also
</translate>
[[Category:Help{{#translation:}}| ]]
