Last modified: 2009-07-25 20:34:59 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 T20648, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18648 - Duplicate names $wgAddGroups et al should be removed not to confuse Special:ListGroupRights display
Duplicate names $wgAddGroups et al should be removed not to confuse Special:L...
Status: RESOLVED DUPLICATE of bug 19301
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/Specia...
:
: 18741 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-02 02:20 UTC by Marcin Cieślak
Modified: 2009-07-25 20:34 UTC (History)
4 users (show)

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


Attachments
Adds an array_unique function to the array of user groups (1.18 KB, patch)
2009-05-09 19:11 UTC, Nakon
Details

Description Marcin Cieślak 2009-05-02 02:20:51 UTC
From meta, rights assigned to the bureaucrats:

# Can add groups: IP block exemptions, Bots, Administrators, Bureaucrats, Administrators, Bureaucrats and Bots
# Can remove groups: Bots, Administrators, Bureaucrats, IP block exemptions, Flood flag and Bots

From plwiki:

http://pl.wikipedia.org/wiki/Specjalna:Uprawnienia_grup_u%C5%BCytkownik%C3%B3w?uselang=en

# Can add groups: Abuse filter editors, Administrators, Bureaucrats, Bots, Administrators, Bureaucrats, Bots and Reviewers
# Can remove groups: Abuse filter editors, Bots, Bots and Reviewers

Looks like $wgAddGroups['bureaucrat'], $wgRemoveGroups['bureaucrat'] settings:

http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php

should be truncated not to include the defaults OR Special:ListGroupRights page should remove duplicate group names on display.

for example:

    '+plwiki' => array(
        'bureaucrat' => array( 'abusefilter', 'sysop', 'bureaucrat', 'bot' ),
    ),

does no longer need ('sysop', 'bureaucrat', 'bot') elements due to the default.
Comment 1 Roan Kattouw 2009-05-02 11:07:57 UTC
Special:ListGroupRight should just filter duplicate entries (using array_unique()) before displaying those lists.
Comment 2 Roan Kattouw 2009-05-09 18:52:16 UTC
*** Bug 18741 has been marked as a duplicate of this bug. ***
Comment 3 Nakon 2009-05-09 19:11:13 UTC
Created attachment 6103 [details]
Adds an array_unique function to the array of user groups

patch included.
Comment 4 Alexandre Emsenhuber [IAlex] 2009-07-25 20:34:59 UTC

*** This bug has been marked as a duplicate of bug 19301 ***

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


Navigation
Links