Multiple Protection Levels
[edit] Multiple Protection Levels
Hello
I know the basics of using $wgRestrictionLevels and $wgGroupPermissions to create multiple protection levels, but getting exactly what I'm after is a bit tricky.
I want three protection levels, one for each of my user groups:
- Moderators
- Can be edited by Moderators, Administrators and Bureaucrats
- Only Bureaucrats can apply this level of protection
- Administrators
- Can be edited only by Administrators and Bureaucrats
- Both Administrators and Bureaucrats can apply this level of protection
- Bureaucrats
- Can be applied and edited only by Bureaucrats
The trouble that I'm having is with the Moderator level, as giving Administrators the right to "protect" pages automatically gives them the right to protect all levels that they can edit - I can't find a way to allow them to edit the Moderators level without being able to apply it.
So, if what I'm asking for is possible, could you please provide me with the code to set this up (all of it, I would rather be safe and be given all of the code, than just ask for the part about the Moderators level and assume I can work the rest around it).
MediaWiki version: 1.16.0
Thanks!
See the original post
Multiple Protection LevelsTalk 05:21, 15 November 2010 (UTC)