Manual:createAndPromote.php

From MediaWiki.org
Jump to: navigation, search
MediaWiki File: createAndPromote.php
Location: maintenance
Source code:

master 1.20.51.19.6

Classes: CreateAndPromote


createAndPromote.php is a MediaWiki script that creates a new user and auto-promotes them to sysop status. You may need to create AdminSettings.php.

Usage [edit]

Option/Parameter Description
--bureaucrat Promotes the user to bureaucrat status as well.
--help Displays help information for the script.
<username> The name of the user you want to create. The username must be valid and cannot exist prior to running this script. If it has spaces in the name, or is a long name (e.g. This is a testing wiki user), it should be typed with underscores as This_is_a_testing_wiki user otherwise it will render as This is, and treat the username wrongly.
<password> The password for the newly-created user.
Language: English  • русский