Thread:Project:Support desk/easy way to assign users read only access/reply

You need:

$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['user']['createpage'] = false;

Basically, you need to explicitly set permissions for the group user since that's an implicit group for all users. And also manage the createpage right which is separate from edit.

See Manual:User rights.