Manual:CreateAndPromote.php

createAndPromote.php is a MediaWiki script that creates a new user and auto-promotes them to sysop status.