Права групп участников/TRW2

```
$wgGroupPermissions['\*']['writeapi'] = false;
$wgGroupPermissions['\*']['minoredit'] = true;

$wgGroupPermissions['user']['move'] = false;
$wgGroupPermissions['user']['move-subpages'] = false;
$wgGroupPermissions['user']['move-rootuserpages'] = false;
$wgGroupPermissions['user']['move-categorypages'] = false;
$wgGroupPermissions['user']['reupload'] = false;
$wgGroupPermissions['user']['editmyusercss'] = false;
$wgGroupPermissions['user']['editmyuserjs'] = false;
$wgGroupPermissions['user']['editmyuserjsredirect'] = false;
$wgGroupPermissions['user']['applychangetags'] = false;
$wgGroupPermissions['user']['changetags'] = false;
$wgGroupPermissions['user']['editcontentmodel'] = false;

$wgGroupPermissions['editor']['move'] = true;
$wgGroupPermissions['editor']['movefile'] = true;
$wgGroupPermissions['editor']['writeapi'] = true;
$wgGroupPermissions['editor']['upload'] = true;
$wgGroupPermissions['editor']['reupload'] = true;
$wgGroupPermissions['editor']['autoconfirmed'] = true;
$wgGroupPermissions['editor']['editsemiprotected'] = true;
$wgGroupPermissions['editor']['noratelimit'] = true;
$wgGroupPermissions['editor']['applychangetags'] = true;
$wgGroupPermissions['editor']['changetags'] = true;
$wgGroupPermissions['editor']['writeapi'] = true;
$wgGroupPermissions['editor']['skipcaptcha'] = true;

$wgGroupPermissions['community']['block'] = true;
$wgGroupPermissions['community']['delete'] = true;
$wgGroupPermissions['community']['deletedhistory'] = true;
$wgGroupPermissions['community']['deletedtext'] = true;
$wgGroupPermissions['community']['move'] = true;
$wgGroupPermissions['community']['editprotected'] = true;
$wgGroupPermissions['community']['rollback'] = true;
$wgGroupPermissions['community']['unwatchedpages'] = true;
$wgGroupPermissions['community']['ipblock-exempt'] = true;
$wgGroupPermissions['community']['blockemail'] = true;
$wgGroupPermissions['community']['noratelimit'] = true;
$wgGroupPermissions['community']['suppressredirect'] = true;
$wgGroupPermissions['community']['applychangetags'] = true;
$wgGroupPermissions['community']['changetags'] = true;
$wgGroupPermissions['community']['managechangetags'] = true;
$wgGroupPermissions['community']['skipcaptcha'] = true;

$wgGroupPermissions['regional']['delete'] = true;
$wgGroupPermissions['regional']['bigdelete'] = true;
$wgGroupPermissions['regional']['deletedhistory'] = true;
$wgGroupPermissions['regional']['deletedtext'] = true;
$wgGroupPermissions['regional']['undelete'] = true;
$wgGroupPermissions['regional']['protect'] = true;
$wgGroupPermissions['regional']['editprotected'] = true;
$wgGroupPermissions['regional']['browsearchive'] = true;
$wgGroupPermissions['regional']['suppressredirect'] = true;
$wgGroupPermissions['regional']['applychangetags'] = true;
$wgGroupPermissions['regional']['changetags'] = true;
$wgGroupPermissions['regional']['managechangetags'] = true;
$wgGroupPermissions['regional']['skipcaptcha'] = true;

$wgGroupPermissions['affiliate']['delete'] = true;
$wgGroupPermissions['affiliate']['bigdelete'] = true;
$wgGroupPermissions['affiliate']['undelete'] = true;
$wgGroupPermissions['affiliate']['editinterface'] = true;
$wgGroupPermissions['affiliate']['editsitejson'] = true;
$wgGroupPermissions['affiliate']['edituserjson'] = true;
$wgGroupPermissions['affiliate']['import'] = true;
$wgGroupPermissions['affiliate']['importupload'] = true;
$wgGroupPermissions['affiliate']['move'] = true;
$wgGroupPermissions['affiliate']['move-subpages'] = true;
$wgGroupPermissions['affiliate']['move-categorypages'] = true;
$wgGroupPermissions['affiliate']['editmyusercss'] = true;
$wgGroupPermissions['affiliate']['editmyuserjson'] = true;
$wgGroupPermissions['affiliate']['editmyuserjs'] = true;
$wgGroupPermissions['affiliate']['editmyuserjsredirect'] = true;
$wgGroupPermissions['affiliate']['purge'] = true;
$wgGroupPermissions['affiliate']['protect'] = true;
$wgGroupPermissions['affiliate']['editprotected'] = true;
$wgGroupPermissions['affiliate']['rollback'] = true;
$wgGroupPermissions['affiliate']['apihighlimits'] = true;
$wgGroupPermissions['affiliate']['noratelimit'] = true;
$wgGroupPermissions['affiliate']['applychangetags'] = true;
$wgGroupPermissions['affiliate']['changetags'] = true;
$wgGroupPermissions['affiliate']['managechangetags'] = true;
$wgGroupPermissions['affiliate']['deletechangetags'] = true;
$wgGroupPermissions['affiliate']['editcontentmodel'] = true;
$wgGroupPermissions['affiliate']['skipcaptcha'] = true;
$wgGroupPermissions['affiliate']['abusefilter-log'] = true;
$wgGroupPermissions['affiliate']['abusefilter-log-detail'] = true;
$wgGroupPermissions['affiliate']['abusefilter-view'] = true;
$wgGroupPermissions['affiliate']['abusefilter-modify'] = true;
$wgGroupPermissions['affiliate']['abusefilter-revert'] = true;

$wgGroupPermissions['sysop']['bigdelete'] = false;
$wgGroupPermissions['sysop']['upload\_by\_url'] = true;
$wgGroupPermissions['sysop']['mergehistory'] = false;
$wgGroupPermissions['sysop']['applychangetags'] = true;
$wgGroupPermissions['sysop']['changetags'] = true;
$wgGroupPermissions['sysop']['editcontentmodel'] = true;
$wgGroupPermissions['sysop']['abusefilter-log'] = true;
$wgGroupPermissions['sysop']['abusefilter-log-detail'] = true;
$wgGroupPermissions['sysop']['abusefilter-view'] = true;
$wgGroupPermissions['sysop']['abusefilter-modify'] = true;
$wgGroupPermissions['sysop']['abusefilter-modify-restricted'] = true;
$wgGroupPermissions['sysop']['abusefilter-revert'] = true;

$wgGroupPermissions['olsysop']['bigdelete'] = true;
$wgGroupPermissions['olsysop']['mergehistory'] = true;
$wgGroupPermissions['olsysop']['nuke'] = true;

$wgGroupPermissions['bureaucrat']['bigdelete'] = true;
$wgGroupPermissions['bureaucrat']['mergehistory'] = true;
$wgGroupPermissions['bureaucrat']['viewsuppressed'] = true;
$wgGroupPermissions['bureaucrat']['suppressionlog'] = true;
$wgGroupPermissions['bureaucrat']['renameuser'] = true;
$wgGroupPermissions['bureaucrat']['checkuser'] = true;
$wgGroupPermissions['bureaucrat']['checkuser-log'] = true;
$wgGroupPermissions['bureaucrat']['nuke'] = true;
$wgGroupPermissions['bureaucrat']['abusefilter-private'] = true;

$wgAddGroups['olsysop'][] = 'editor';
$wgAddGroups['olsysop'][] = 'community';
$wgAddGroups['olsysop'][] = 'regional';
$wgAddGroups['olsysop'][] = 'bot';
$wgAddGroups['olsysop'][] = 'rollback';
$wgRemoveGroups['olsysop'][] = 'editor';
$wgRemoveGroups['olsysop'][] = 'community';
$wgRemoveGroups['olsysop'][] = 'regional';
$wgRemoveGroups['olsysop'][] = 'bot';
$wgRemoveGroups['olsysop'][] = 'olsysop';
$wgRemoveGroups['olsysop'][] = 'rollback';

$wgRestrictionLevels = array( '', 'autoconfirmed', 'emailconfirmed', 'sysop', 'userrights' );

```