How to stop anonymous writing in Mediawiki
From JongBhak.com
| Access: $wgGroupPermissions | |
|---|---|
| Use this to set access rights for groups and users. |
|
| Introduced in version: | 1.5.0 |
| Removed in version: | still in use |
| Allowed Values: | Complex array of boolean values. |
| Default Value: | (see below) |
Other settings: Alphabetical | By Function
Details
$wgGroupPermissions is a two-dimensional array indexed by user group and available permissions; for example, "$wgGroupPermissions['user']['edit'] = true;" allows registered users to edit. These groups can be assigned to users through the wiki Special:Userrights interface.
For in-depth documentation, see Help:User rights.
Preventing anonymous user write:
$wgGroupPermissions['*']['edit'] = false;
Extensions
Extensions such as RenameUser or MakeBot add new rights which can be configured and assigned in the same manner.