Last modified: 2013-08-01 09:54:53 UTC
Created attachment 12895 [details] 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() ...
That blocks the creation of the loginwiki for SUL2 (bug 51580)
gah! too tired to fix tonight but can look tomorrow. I know what the issue...
Change 74829 had a related patch set uploaded by Aude: (bug 50729, bug 51699) handle exception in the langlinkhander https://gerrit.wikimedia.org/r/74829
Change 74829 merged by jenkins-bot: (bug 50729, bug 51699) handle exception in the langlinkhander https://gerrit.wikimedia.org/r/74829
The extension got handled (bug 50729) and I managed to create a wiki. I have first deleted the `loginwiki` database then reran the creation script: 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 Writing sidebar donate link to MediaWiki:Sitesupport-url Adding to dblists PHP Notice: Undefined variable: wmfRealm in /data/project/apache/common-local/wmf-config/db-labs.php on line 5 PHP Notice: Undefined variable: wgLBFactoryConf in /data/project/apache/common-local/refresh-dblist on line 105 warning: commands will be executed using /bin/sh job 9 at Mon Jul 22 11:29:00 2013 Script ended. You still have to: * Add any required settings in InitialiseSettings.php * Run sync-common-all mwdeploy@deployment-bastion:~$
Change 75369 had a related patch set uploaded by Aude: (bug 50729, bug 51699) handle exception in the langlinkhander https://gerrit.wikimedia.org/r/75369
Change 75369 merged by Aude: (bug 50729, bug 51699) handle exception in the langlinkhander https://gerrit.wikimedia.org/r/75369
Change 75371 had a related patch set uploaded by Aude: (bug 50729, bug 51699) handle exception in the langlinkhander https://gerrit.wikimedia.org/r/75371
Change 75371 merged by Hoo man: (bug 50729, bug 51699) handle exception in the langlinkhander https://gerrit.wikimedia.org/r/75371
Bug fixed :-)
Verified in Wikidata demo July 31th.