Last modified: 2012-12-12 16:12:52 UTC
Somehow the autocomment for wbeditentity fail for a lot (all?) cases (http://www.wikidata.org/w/index.php?title=Q444553&curid=419396&action=history). It could be a naming issue of the message key.
Change Ib9583805: Corrected the message key of wbeditentity The following message key should be deleted when the updates goes live on wikidata.org, its only a workaround http://www.wikidata.org/wiki/MediaWiki:Wikibase-item-summary-wbsetentity
It seems to me that after populating the tables the mediawiki sites are correctly tagged as "mediawiki" and the necessary URLs are there. (The domain in field site_domain seems weird.) During write the object is the subclass MediaWikiSite. During read out the object is the parent class SiteObject and stays that, rendering URLs unaccessible.
Sorry, wrong bug.
*** Bug 42781 has been marked as a duplicate of this bug. ***
Verified in Wikidata demo sprint 26