full stack trace
I have tried to create the loginwiki project on beta and ended up with a stacktrace:
mwdeploy@deployment-bastion$ mwscript extensions/WikimediaMaintenance/addWiki.php --wiki=aawiki en wikimedia loginwiki login.wikimedia.beta.wmflabs.org
Creating database loginwiki for en.wikimedia (English)
Initialising tables
Writing main page to Main_Page
Unable to resolve site ID 'aawiki'!
Backtrace:
#0 /data/project/apache/common-local/php-master/extensions/Wikibase/client/includes/LangLinkHandler.php(396): Wikibase\LangLinkHandler->getSiteGroup()
...
Version: master
Severity: normal
Attached: