mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-25 01:33:34 +01:00
commit
84fba608c0
@ -139,10 +139,19 @@ in
|
|||||||
|
|
||||||
$wgPygmentizePath = "${pkgs.python3Packages.pygments}/bin/pygmentize";
|
$wgPygmentizePath = "${pkgs.python3Packages.pygments}/bin/pygmentize";
|
||||||
|
|
||||||
# Enable extra groups
|
# add extra groups
|
||||||
## enable trusted group
|
## add trusted group
|
||||||
$wgGroupPermissions['trusted'] = $wgGroupPermissions['user'];
|
$wgGroupPermissions['trusted'] = $wgGroupPermissions['user'];
|
||||||
$wgGroupPermissions['trusted']['delete'] = true;
|
$wgGroupPermissions['trusted']['delete'] = true;
|
||||||
|
|
||||||
|
## add moderator group
|
||||||
|
$wgGroupPermissions['moderator'] = $wgGroupPermissions['user'];
|
||||||
|
$wgGroupPermissions['moderator']['delete'] = true;
|
||||||
|
$wgGroupPermissions['moderator']['blockusers'] = true;
|
||||||
|
$wgGroupPermissions['moderator']['rollback'] = true;
|
||||||
|
$wgGroupPermissions['moderator']['viewdeleted'] = true;
|
||||||
|
$wgGroupPermissions['moderator']['oversight'] = true;
|
||||||
|
$wgGroupPermissions['moderator']['protect'] = true;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user