Manual:createAndPromote.php

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

HEAD1.19.0rc1
1.19.01.18.3

Classes: None



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.

[edit] Usage

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  • Русский
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox