Page MenuHomeMiraheze

Change mediawiki config on igrovyesistemywiki
Closed, ResolvedPublic

Description

https://igrovyesistemy.miraheze.org

Group permissions:

'+wgGroupPermissions' => array(
  '+igrovyesistemywiki' => array(
    'UserType1' => array(
      'UserType1' => true,
    ),
    'UserType2' => array(
      'UserType2' => true,
    ),
    'UserType3' => array(
      'UserType3' => true,
    ),
    'UserType4' => array(
      'UserType4' => true,
    ),
    'UserType5' => array(
      'UserType5' => true,
    ),
    'UserType6' => array(
      'UserType6' => true,
    ),
    'UserType7' => array(
      'UserType7' => true,
    ),
    'autopatrolled' => array(
      'trusted' => true,
    ),
    'autoreview' => array(
      'trusted' => true,
    ),
    'bot' => array(
      'trusted' => true,
    ),
    'editor' => array(
      'trusted' => true,
    ),
    'reviewer' => array(
      'trusted' => true,
    ),
    'co' => array(
      'co' => true,
      'ceo' => true,
      'reviewer' => true,
      'protect' => true,
    ),
    'ceo' => array(
      'ceo' => true,
      'blockemail' => true,
      'block' => true,
      'bureaucrat' => true,
      'ipblock-exempt' => true,
      'proxyunbannable' => true,
      'protect' => true,
      'managechangetags' => true,
      'createaccount' => true,
      'deletelogentry' => true,
      'deleterevision' => true,
      'delete' => true,
      'globalblock-whitelist' => true,
      'editusercss' => true,
      'edituserjs' => true,
      'edituserjson' => true,
      'editprotected' => true,
      'editsemiprotected' => true,
      'editinterface' => true,
      'autopatrol' => true,
      'importupload' => true,
      'import' => true,
      'patrol' => true,
      'markbotedits' => true,
      'nuke' => true,
      'mergehistory' => true,
      'abusefilter-modify' => true,
      'abusefilter-modify-restricted' => true,
      'move-categorypages' => true,
      'movefile' => true,
      'move' => true,
      'move-subpages' => true,
      'move-rootuserpages' => true,
      'autoconfirmed' => true,
      'noratelimit' => true,
      'suppressredirect' => true,
      'reupload-shared' => true,
      'override-antispoof' => true,
      'tboverride' => true,
      'reupload' => true,
      'skipcaptcha' => true,
      'rollback' => true,
      'abusefilter-revert' => true,
      'browsearchive' => true,
      'massmessage' => true,
      'unblockself' => true,
      'undelete' => true,
      'upload' => true,
      'apihighlimits' => true,
      'mf-uploadbutton' => true,
      'unwatchedpages' => true,
      'deletedhistory' => true,
      'deletedtext' => true,
      'spamblacklistlog' => true,
      'titleblacklistlog' => true,
      'sysmag' => true,
      'review' => true,
      'validate' => true,
      'trusted' => true,
      'autoreview' => true,
      'autochecked users' => true,
      'editors' => true,
    ),
    'bureaucrat' => array(
      'bureaucrat' => true,
      'nuke' => true,
      'movefile' => true,
    ),
    'sysmag' => array(
      'autoreview' => true,
      'autoconfirmed' => true,
      'autopatrolled' => true,
      'editinterface' => true,
      'editusercss' => true,
      'edituserjs' => true,
      'edituserjson' => true,
      'sysmag' => true,
      'trusted' => true,
    ),
    'sysop' => array(
      'trusted' => true,
      'review' => true,
      'validate' => true,
    ),
  ),

Add groups:

'wgAddGroups' => array(
 '+igrovyesistemywiki' => array(
    'co' => array(
      'ceo',
    ),
    'ceo' => array(
      'autopatrolled',
      'bot',
      'bureaucrat',
      'confirmed',
      'sysop',
      'rollbacker',
      'sysmag',
      'editor',
      'reviewer',
      'autoreview',
      'forumadmin',
    ),
    'bureaucrat' => array(
      'sysmag',
    ),
  ),

Remove groups:

'wgRemoveGroups' => array(
 '+igrovyesistemywiki' => array(
    'co' => array(
      'ceo',
    ),
    'ceo' => array(
      'autopatrolled',
      'bot',
      'bureaucrat',
      'confirmed',
      'sysop',
      'rollbacker',
      'sysmag',
      'editor',
      'reviewer',
      'autoreview',
      'forumadmin',
    ),
    'bureaucrat' => array(
      'sysmag',
    ),
  ),

Auto promote to the groups:

'wgAutopromote' => array(
 '+igrovyesistemywiki' => array(
    'UserType1' => array(
      array( APCOND_EDITCOUNT, 1),
      array( APCOND_AGE, 0 ),
      array( '!', array( APCOND_INGROUPS, 'UserType2' ) ),
    ),
    'UserType2' => array(
      array( APCOND_EDITCOUNT, 50),
      array( APCOND_AGE, 0 ),
      array( '!', array( APCOND_INGROUPS, 'UserType3' ) ),
    ),
    'UserType3' => array(
      array( APCOND_EDITCOUNT, 300),
      array( APCOND_AGE, 0 ),
      array( '!', array( APCOND_INGROUPS, 'UserType4' ) ),
    ),
    'UserType4' => array(
      array( APCOND_EDITCOUNT, 500),
      array( APCOND_AGE, 0 ),
      array( '!', array( APCOND_INGROUPS, 'UserType5' ) ),
    ),
    'UserType5' => array(
      array( APCOND_EDITCOUNT, 1000),
      array( APCOND_AGE, 0 ),
      array( '!', array( APCOND_INGROUPS, 'UserType6' ) ),
    ),
    'UserType6' => array(
      array( APCOND_EDITCOUNT, 2000),
      array( APCOND_AGE, 0 ),
      array( '!', array( APCOND_INGROUPS, 'UserType7' ) ),
    ),
    'UserType7' => array(
      array( APCOND_EDITCOUNT, 3000),
      array( APCOND_AGE, 0 ),
    ),

Restriction types:

'+wgRestrictionLevels' => array(
  '+igrovyesistemywiki' => array(
    'trusted',
    'sysmag',
    'bureaucrat',
    'ceo',
    'co',
  ),

Event Timeline

Vlad26t updated the task description. (Show Details)
AmandaCath mentioned this in Unknown Object (Diffusion Commit).Aug 30 2018, 12:55
Paladox mentioned this in Unknown Object (Diffusion Commit).Aug 30 2018, 12:56

Hi @Vlad26t

I’ve made a request for the majority of what you requested above. I do have a couple of questions, though.

  • What is the purpose of the “ceo” user group permissions? They appear to be more or less an exact copy-paste of the permissions in the sysop user group.
  • What is the purpose of the “UserType#” user groups above? Did you copy-paste those from somewhere and forget to remove placeholders? Or do you have a specific purpose for them?

Hi @Vlad26t

I’ve made a request for the majority of what you requested above. I do have a couple of questions, though.

  • What is the purpose of the “ceo” user group permissions? They appear to be more or less an exact copy-paste of the permissions in the sysop user group.
  • What is the purpose of the “UserType#” user groups above? Did you copy-paste those from somewhere and forget to remove placeholders? Or do you have a specific purpose for them?
  • I have used for the “ceo” user group similar permissions as on https://trex.miraheze.org/wiki/Istimewa:Daftar_hak_kelompok. Really, maybe the “ceo” user group will include all the permissions in the sysop user group, but also with some other permissions: 'bureaucrat', 'sysmag' and 'trusted'.
  • The “UserType#” user groups will be automatically promoted to users. These groups will not have specific permissions.

Okay, thank you for the clarification. I will handle the rest now.

AmandaCath mentioned this in Unknown Object (Diffusion Commit).Aug 30 2018, 13:17
MacFan4000 mentioned this in Unknown Object (Diffusion Commit).Aug 30 2018, 13:18

Okay, thank you for the clarification. I will handle the rest now.

You have forgotten to do the rest:

'ceo' => array(
  'ceo' => true,
  'bureaucrat' => true,
  'sysmag' => true,
  'autochecked users' => true,
  'editors' => true,

'wgRemoveGroups' => array(

'+igrovyesistemywiki' => array(
  'co' => array(
    'ceo',
  ),
  'ceo' => array(
    'autopatrolled',
    'bot',
    'bureaucrat',
    'confirmed',
    'sysop',
    'rollbacker',
    'sysmag',
    'editor',
    'reviewer',
    'autoreview',
    'forumadmin',
  ),
  'bureaucrat' => array(
    'sysmag',
  ),
),

'+wgRestrictionLevels' => array(

'+igrovyesistemywiki' => array(
  'trusted',
  'sysmag',
  'bureaucrat',
  'ceo',
  'co',
),
AmandaCath mentioned this in Unknown Object (Diffusion Commit).Aug 30 2018, 13:25

@Vlad26t I didn’t forget - I’m doing it as separate commits due to the large number of changes you are requesting.

AmandaCath mentioned this in Unknown Object (Diffusion Commit).Aug 30 2018, 13:34
AmandaCath mentioned this in Unknown Object (Diffusion Commit).Aug 30 2018, 13:39

@Vlad26t I think all changes have been requested now and should be approved by a sysadmin soon.

MacFan4000 mentioned this in Unknown Object (Diffusion Commit).Aug 30 2018, 14:07
MacFan4000 mentioned this in Unknown Object (Diffusion Commit).
MacFan4000 mentioned this in Unknown Object (Diffusion Commit).

@Vlad26t all changes have now been approved by a sysadmin and should be live on your wiki shortly. Due to the sheer number of changes you requested, I’m leaving this task open for now and I’m going to ask you to please check your wiki and verify that everything is how it should be.

After these changes appears this: [84842a96eb82531372a7a53f] 2018-08-30 15:23:21: Fatal exception of type MWException

You should add the following for group permissions:

'ceo' => array(
 'ceo' => true,
 'bureaucrat' => true,
 'sysmag' => true,
 'autochecked users' => true,
 'editors' => true,

@John @Reception123 @Paladox fatal type of exception sounds all too familiar :(