Userlevels and grouplevels have been moved out to a 'steward' group. Make
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 25 Apr 2005 02:21:48 +0000 (02:21 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 25 Apr 2005 02:21:48 +0000 (02:21 +0000)
the initially created sysop user a part of the group so they can assign
sysops etc.

config/index.php
includes/DefaultSettings.php

index 5329ccc..17d34fb 100644 (file)
@@ -595,6 +595,7 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) {
                                        $groups = $u->getGroups();
                                        $groups[] = $wgSysopGroupId;
                                        $groups[] = $wgBureaucratGroupId;
+                                       $groups[] = $wgStewardGroupId;
                                        $u->setGroups( $groups );
                                        $u->saveSettings();
                                        
index f75eaac..d4b19d6 100644 (file)
@@ -1199,6 +1199,7 @@ $wgAnonGroupId = 1;
 $wgLoggedInGroupId = 2;
 $wgSysopGroupId = 3;
 $wgBureaucratGroupId = 4;
+$wgStewardGroupId = 5;
 
 /**
  * When translating messages with wfMsg(), it is not always clear what should be