Last modified: 2013-08-01 09:54:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53699, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51699 - stack trace when creating a new wiki
stack trace when creating a new wiki
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on: 50729
Blocks: 51622
  Show dependency treegraph
 
Reported: 2013-07-19 20:06 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-08-01 09:54 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
full stack trace (2.83 KB, text/plain)
2013-07-19 20:06 UTC, Antoine "hashar" Musso (WMF)
Details

Description Antoine "hashar" Musso (WMF) 2013-07-19 20:06:38 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()
...
Comment 1 Antoine "hashar" Musso (WMF) 2013-07-19 20:07:03 UTC
That blocks the creation of the loginwiki for SUL2 (bug 51580)
Comment 2 Aude 2013-07-19 21:34:03 UTC
gah! too tired to fix tonight but can look tomorrow.  I know what the issue...
Comment 3 Gerrit Notification Bot 2013-07-20 07:23:54 UTC
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
Comment 4 Gerrit Notification Bot 2013-07-20 09:50:24 UTC
Change 74829 merged by jenkins-bot:
(bug 50729, bug 51699) handle exception in the langlinkhander

https://gerrit.wikimedia.org/r/74829
Comment 5 Antoine "hashar" Musso (WMF) 2013-07-22 11:16:29 UTC
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:~$
Comment 6 Gerrit Notification Bot 2013-07-23 18:16:12 UTC
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
Comment 7 Gerrit Notification Bot 2013-07-23 18:17:17 UTC
Change 75369 merged by Aude:
(bug 50729, bug 51699) handle exception in the langlinkhander

https://gerrit.wikimedia.org/r/75369
Comment 8 Gerrit Notification Bot 2013-07-23 18:23:25 UTC
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
Comment 9 Gerrit Notification Bot 2013-07-23 18:23:36 UTC
Change 75371 merged by Hoo man:
(bug 50729, bug 51699) handle exception in the langlinkhander

https://gerrit.wikimedia.org/r/75371
Comment 10 Antoine "hashar" Musso (WMF) 2013-07-24 19:28:22 UTC
Bug fixed :-)
Comment 11 abraham.taherivand 2013-08-01 09:54:53 UTC
Verified in Wikidata demo July 31th.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links