https://bugzilla.wikimedia.org/show_bug.cgi?id=72145
--- Comment #5 from Nathan Larson <[email protected]> --- (In reply to Brad Jorsch from comment #3) > Keep in mind that in practice these lists are going to be more along the > lines of "array( 'bot', 'reviewer', 'autoreview', 'accountcreator', > 'import', 'transwiki', 'ipblock-exempt', 'oversight', 'founder', > 'rollbacker', 'autoreviewer', 'researcher', 'filemover', 'checkuser', > 'templateeditor', 'massmessage-sender', 'OTRS-member', 'abusefilter', > 'epcoordinator', 'eponline', 'epcampus', 'epinstructor', 'oauthadmin', > 'confirmed' )" than "array( 'bot' )" and would have to be updated every time > a new group gets added. One could do, a la SpecialListgrouprights.php, $allGroups = array_unique( array_merge( array_keys( $groupPermissions ), array_keys( $revokePermissions ), array_keys( $addGroups ), array_keys( $removeGroups ), array_keys( $groupsAddToSelf ), array_keys( $groupsRemoveFromSelf ) ) ); And then array_diff the ones one doesn't want. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
