From 890117e4e3352f8e97c8104a0489e04de33da376 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 25 Apr 2005 02:21:48 +0000 Subject: [PATCH] Userlevels and grouplevels have been moved out to a 'steward' group. Make the initially created sysop user a part of the group so they can assign sysops etc. --- config/index.php | 1 + includes/DefaultSettings.php | 1 + 2 files changed, 2 insertions(+) diff --git a/config/index.php b/config/index.php index 5329ccc049..17d34fb008 100644 --- a/config/index.php +++ b/config/index.php @@ -595,6 +595,7 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) { $groups = $u->getGroups(); $groups[] = $wgSysopGroupId; $groups[] = $wgBureaucratGroupId; + $groups[] = $wgStewardGroupId; $u->setGroups( $groups ); $u->saveSettings(); diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index f75eaac093..d4b19d68e6 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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 -- 2.20.1