Last modified: 2013-03-13 11:24:44 UTC
Add wg variable to inherit group permissions, i. e. follow code: $wgInheritGroupPermissions['sysop'] = array('editor'); And in Special:ListGroupRights MediaWiki displays simple "Inherit user rights of groups: Editors" instead of duplicate rights of "editor" group.
Created attachment 9502 [details] patch Added a patch.
This is something that could ideally do with some unittests. Would you be able to write some for this cryptocoryne? And I don't think it should be committed before 1.19 is branched, as it has the potential to have numerous unwanted side effects
Oh, also! 'listgrouprights-inherited' needs to be added to messages.inc and it'd be nice to have qqq documentation for it also A quick browse over the patch suggests it's reasonably sane
-patch, -needs-review: reviewed by Sam, I concur with his analysis.
John: Would you be able to write unittests? Also, you are welcome to use Developer access https://www.mediawiki.org/wiki/Developer_access to submit an updated patch as a Git branch directly into Gerrit: https://www.mediawiki.org/wiki/Git/Tutorial Putting your branch in Git makes it easier to review it quickly.