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.
||Promotes the user to bureaucrat status as well.
||Displays help information for the script.
||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.
||The password for the newly-created user.