Editing my original message to include new stuff.
I looked at several Manual: pages including the articles on:
MediaWiki version: 1.24.1
PHP Version: 5.5.21 (cgi-fcgi)
SQLite Version: 3.7.9 with full-text search support
I have a site set up that I'm using to test MediaWiki.
I have the newest stable version of MediaWiki set up, using a mysql database. (I think it's my sql. whatever the local one is where it doesn't do a host, all you need is db name and write access.)
It took me a while today to figure out how to use Lockdown and I got that working (wanted it so that sysop's couldn't read a certain namespace; there are other administrative groups that work exclusively in this namespace.)
I have the following code in my LocalSettings.php
file, and I'm trying to make it so that the default bureaucrat group can only add people to the default groups, and not remove anyone from bureaucrat.
I don't want bureaucrat's to be able to add to this other group of 'exclusive administrators', which will be handled by another exclusive group, or stewards.
unset( $wgGroupsAddToSelf['bureaucrat'] );
unset( $wgGroupsRemoveFromSelf['bureaucrat'] );
unset( $wgAddGroups['bureaucrat'] );
unset( $wgRemoveGroups['bureaucrat'] );
$wgGroupsAddToSelf['bureaucrat'] = array( 'bot', 'administrator', 'bureaucrat', 'oversight', 'oversightadmin', 'developer', 'interfaceeditor' );
$wgGroupsRemoveFromSelf['bureaucrat'] = true;
$wgAddGroups['bureaucrat'] = array( 'bot', 'administrator', 'bureaucrat', 'oversight', 'oversightadmin', 'developer', 'interfaceeditor' );
$wgRemoveGroups['bureaucrat'] = array( 'bot', 'administrator', 'oversight', 'oversightadmin', 'developer', 'interfaceeditor' );
Edit: Feel free to reply, or link to the reply, on my non-existant talk page. Please create it :3
Edit 2: If needed, I can copy paste my entire LocalSettings.php
file.