In MediaWiki, users that visit your site and perform various actions belong to one or more user groups. A group has rights/permissions that specify what the users in that group are allowed to do on the site.
MediaWiki comes preconfigured with some default user groups. Registered users can then be assigned to other user groups by other users with the permissions to do so, and in this way, they can be allowed to do even more things.
By inserting code in the LocalSettings.php file of your MediaWiki, custom groups can be created, and permissions can be changed.
Default MediaWiki groups are:
*
– all visitors, including anonymous onesuser
– registered userssysop
– administrators with a lot of powerbureaucrat
– a special group with the important right to assign users to groups.There are some other built-in groups (bots, interface administrators, etc). Other groups and permissions can be added by extensions. You can read more about user groups here.
Special:UserRights
To modify group memberships, navigate to Special:UserRights. This action requires one to be part of the bureaucrats group or have been granted the necessary permissions through the configuration file.
Special:ListUsers
Special:ListGroupRights
There's a feature that you can use to block users. The blocked user can only read and view the content on the site; they cannot edit content or perform any other actions with pages. To do so, navigate to the special page:
Special:Block
Note that you can:
After filling the form, do not forget to press the Block this user button!
Creating custom groups and editing the LocalSettings.php file can be a tricky process, feel free to reach out to us for a free consultation! Make sure to check out our other MediaWiki blog articles that contain various wiki tutorials and more!
Here’s what we've been up to recently.
Discover the inner workings of Large Language Models (LLMs) in our comprehensive blog that delves into the complexities of these advanced AI algorithms. Learn how LLMs, powered by deep learning and transformer models, analyze extensive datasets to master the intricacies of human language, and how MediaWiki can be used as a training environment.
From us to your inbox weekly.
We use cookies to provide and improve our services. By using our site, you consent to cookies.
Learn more