Last modified: 2011-07-29 15:45:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31956, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29956 - Customize Some user rights for Hindi WIki
Customize Some user rights for Hindi WIki
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-18 18:17 UTC by Mayur
Modified: 2011-07-29 15:45 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mayur 2011-07-18 18:17:01 UTC
As per our local consensus-http://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%A8%E0%A4%AF%E0%A5%80_%E0%A4%B8%E0%A5%81%E0%A4%B5%E0%A4%BF%E0%A4%A7%E0%A4%BE%E0%A4%8F%E0%A4%81, Please customize following rights 

#for enable editprotect user Group and file mover group as per.

'editprotected' => array( 'editprotected' => true, 'rollback' => true, 'browsearchive' => true, 'delete' => true, 'undelete' => true, 'rollback' => true, 'browsearchive' => true, 'deletedtext' => true, 'deletedhistory', 'patrol' => true, 'patrol' => true, 'autopatrol' => true, 'autoreview' => true, 'review' => true, 'movefile' => true ),

'filemover' => array( 'movefile' => true ),

#Add and removal of these editprotected, filemover and reviewer group should be as

        'bureaucrat' => array('editprotected', 'filemover' ),
        'sysop' => array('Reviewer',),

Regards
Mayur
Comment 1 Mayur 2011-07-24 11:26:12 UTC
Plz make changes as following-

        'editprotected' => array( 'editprotected' => true, 'patrol' => true, 'autopatrol' => true, 'autoreview' => true, 'review' => true, 'upload_by_url' => true, 'ipblock-exempt' => true, 'autopatrolother' => true, 'patrolother' => true, 'validate' => true, 'patrolmarks' => true, 'suppressredirect' => true ),
        'filemover' => array( 'movefile' => true ),
        'Patroller' =>  array( 'patrol' => true, 'autopatrol' => true, 'autopatrolother' => true, 'unwatchedpages' => true, 'patrolother' => true, 'patrolmarks' => true ),
        'sysop' => array( 'autopatrolother' => true, 'patrolother' => true ),

Adding and removing rights
        'bureaucrat' => array('editprotected', 'filemover' ),
        'sysop' => array('Reviewer'),
Comment 2 Sam Reed (reedy) 2011-07-25 19:35:36 UTC
(In reply to comment #1)
> Plz make changes as following-
> 
>         'editprotected' => array( 'editprotected' => true, 'patrol' => true,
> 'autopatrol' => true, 'autoreview' => true, 'review' => true, 'upload_by_url'
> => true, 'ipblock-exempt' => true, 'autopatrolother' => true, 'patrolother' =>
> true, 'validate' => true, 'patrolmarks' => true, 'suppressredirect' => true ),
>         'filemover' => array( 'movefile' => true ),
>         'Patroller' =>  array( 'patrol' => true, 'autopatrol' => true,
> 'autopatrolother' => true, 'unwatchedpages' => true, 'patrolother' => true,
> 'patrolmarks' => true ),
>         'sysop' => array( 'autopatrolother' => true, 'patrolother' => true ),
> 
> Adding and removing rights
>         'bureaucrat' => array('editprotected', 'filemover' ),
>         'sysop' => array('Reviewer'),

Done
Comment 3 Mayur 2011-07-26 12:57:00 UTC
hmm, some mistakes happened I wanted the whole setting for addition and removal as -

'wgAddGroups' => array(

    '+hiwiki' => array(
        'bureaucrat' => array( 'interface_editor', 'flood', 'abusefilter', 'eliminator', 'import', 'transwiki', 'accountcreator', 'editprotected', 'filemover'
),
        'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled', 'Patroller', 'reviewer' ),
    ),

'wgRemoveGroups' => array(
'+hiwiki' => array(
        'bureaucrat' => array( 'sysop', 'interface_editor', 'flood', 'abusefilter', 'eliminator', 'import', 'transwiki', 'accountcreator', 'editprotected', 'filemover' ),
        'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled', 'Patroller', 'reviewer' ),
    ),

As sysops are not able to add Patroller group, I think it was due to (Patroller & patroller) first Capital letter.
Comment 4 Mayur 2011-07-26 18:52:56 UTC
It would be better if you could plz set add and remove setting as below-

'wgAddGroups' => array(

    '+hiwiki' => array(
        'bureaucrat' => array( 'interface_editor', 'flood', 'abusefilter',
'eliminator', 'import', 'transwiki', 'accountcreator', 'editprotected',
),
        'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled',
'Patroller', 'reviewer', 'filemover' ),
    ),

'wgRemoveGroups' => array(
'+hiwiki' => array(
        'bureaucrat' => array( 'sysop', 'interface_editor', 'flood',
'abusefilter', 'eliminator', 'import', 'transwiki', 'accountcreator',
'editprotected' ),
        'sysop' => array( 'confirmed', 'rollbacker', 'autopatrolled',
'Patroller', 'reviewer','filemover' ),
    ),

Regards
Mayur
Comment 5 Sam Reed (reedy) 2011-07-26 18:58:39 UTC
When you give things in this format, while settings already exist, just make it a pain

If you don't make it explicit what you want, it's hard to know - we're not mind readers
Comment 6 Mayur 2011-07-26 19:04:24 UTC
(In reply to comment #5)
> When you give things in this format, while settings already exist, just make it
> a pain
> 
> If you don't make it explicit what you want, it's hard to know - we're not mind
> readers

Sorry for that. I thought that would be easier for you that why i gave the required config.But i forgot to give config for addition and removal of groups that sucked your and our time.I shall keep it mind in future.Thank you
Comment 7 Sam Reed (reedy) 2011-07-26 19:05:40 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > When you give things in this format, while settings already exist, just make it
> > a pain
> > 
> > If you don't make it explicit what you want, it's hard to know - we're not mind
> > readers
> 
> Sorry for that. I thought that would be easier for you that why i gave the
> required config.But i forgot to give config for addition and removal of groups
> that sucked your and our time.I shall keep it mind in future.Thank you

Cheers :). Sorry if my message above sounded a bit angry

When the files aren't being changed for some other improvements, I'll finish this off for you again
Comment 8 Sam Reed (reedy) 2011-07-29 13:53:39 UTC
Done
Comment 9 Mayur 2011-07-29 15:45:19 UTC
(In reply to comment #8)
> Done

Thank you Reedy!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links