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.
Custom groups can be created, and permissions can be changed by inserting some code in the LocalSettings.php file of your MediaWiki.
Default MediaWiki groups are:
*– all visitors, including anonymous ones
user– registered users
sysop– administrators with a lot of power
bureaucrat– 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.
To add or remove users from groups go to Special:UserRights. To do so, one must belong to the bureaucrats group or must be given appropriate permissions in the config file.
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:
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.