Manual talk:Establishing a hierarchy of bureaucrats
Latest comment: 6 years ago by Mgg4 in topic Should 'sysop' be included in $wgHierarchyGroups and the permission set loop?
Question: Why not name the highest suggested group bureaucrat? That would save some lines of code :) --MF-Warburg (talk) 02:01, 18 November 2012 (UTC)
- Good point. Another fix I want to make is having the other groups grey out after you check one of them. Leucosticte (talk) 09:41, 23 December 2013 (UTC)
Should 'sysop' be included in $wgHierarchyGroups and the permission set loop?
editIn looking at the logic of the foreach
loop, it seems that the function of the loop is to find all permissions that are currently assigned to the 'sysop' group, and then assign those permissions to the groups listed in $wgHierarchyGroups. Since, by definition, all of the permissions assigned to 'sysop' are already assigned to 'sysop', do we really need to include 'sysop' in the $wgHierarchyGroups list? Seems like a no-op to me. Mgg4 (talk) 22:35, 28 March 2018 (UTC)