I have a local install of MediaWiki 1.15.1 with PHP 5.3.2 and MySQL 5.1.69. Going to Special:ListUsers/sysop shows no users. The only user listed on the wiki is me, but I don't have bureaucrat, sysop or other elevated rights. I want to import the Chart templates, but doing so by hand without elevated user rights is exhausting. I have access to the LocalSettings.php and AdminSettings.php files; neither of them lists any admin, bureaucrat or sysop users. I can grant myself full rights in PHPMyAdmin, but those don't seem to translate to rights from within the wiki itself. I don't know if I somehow managed to delete the root user or if it never existed.
How do I grant myself rights to import templates? (Being able to delete pages, etc. would also be handy.)