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