Thread:Project:Support desk/на сайте нет администраторов и бюрократов вообще/reply (3)

Sometimes, the installer fails to create the default user, or the user table is lost for some reason. There are a couple of options for solving this: maintenance/createAndPromote.php If your MediaWiki is older than 1.16, make sure AdminSettings.php is set up (see AdminSettings.sample) Execute maintenance/createAndPromote.php --username --password from the shell. Append --bureaucrat to command line if you want that user to become a bureaucrat, in addition to becoming an administrator. This will create a new user and promote them to an administrator. For help, run the script with the parameter --help.

Или: Alter the database Register a new account using the regular method (Special:UserLogin). Check the user ID in Special:Preferences. Execute the following SQL statement against the database: INSERT INTO user_groups ( ug_user, ug_group ) VALUES ( , 'bureaucrat' ), ( , 'sysop' );  above should be replaced with the appropriate user ID which you can see on the user's preference page