On Tue, Mar 19, 2013 at 1:15 PM, Pericles Sobreira <
When I protect a certain page
users of the wiki are blocked to edit it (as expected), but also, the
participants of G8 (the group that should edit this page)... someone knows
Protection levels in MediaWiki are on the basis of user rights, not groups
("sysop" is special-cased). So when you say "protections=edit=G8",
saying that anyone with the G8 user right is allowed to edit the page.
The solution is to add that right to the G8 group:
$wgGroupPermissions['G8']['G8'] = true;
Note you'll probably also want to add that G8 right to sysops, or they
won't be able to actually apply the G8 protection level.
for a more
I initially created the following two lines in
$wgGroupPermissions['G8']['edit'] = false;
$wgGroupPermissions['G8']['read'] = false;
Note that just means members of the G8 group aren't allowed to read or edit
pages (although they could be allowed via membership in other groups, e.g.
'*' or 'user').
And after, I changed these permissions to
$wgGroupPermissions['G8']['edit'] = true;
$wgGroupPermissions['G8']['read'] = true;
That just means members of the G8 group are allowed to read and edit pages.
I have also modified the following line in the
$wgRestrictionLevels = array( '', 'autoconfirmed',
That's what allows you to use "G8" as a protection level.