Bcbussche added a comment.

  I think it is necessary, that elasticsearch is running. If so, you can use 
php maintenance/eval.php in the wikibase/wikibase container with the following 
code:
  
    $sites = [];
    $langCode = 'en';
    $site = new MediaWikiSite();
    $site->setGlobalId( 'clientwiki' );
    $site->setGroup( 'wikipedia' );
    $site->setLanguageCode( $langCode );
    $site->addInterwikiId( $langCode );
    $site->addNavigationId( $langCode );
    $site->setPath( MediaWikiSite::PATH_PAGE, "http://localhost:8181/wiki/$1"; );
    $site->setPath( MediaWikiSite::PATH_FILE, "http://wikibase.svc/w/$1"; );
    $sites[] = $site;
    $sitesTable = SiteSQLStore::newInstance();
    $sitesTable->clear();
    $sitesTable->saveSites( $sites );
  
  Setting the sitelinks should be possible then.

TASK DETAIL
  https://phabricator.wikimedia.org/T205922

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Bcbussche
Cc: Bcbussche, Ladsgroup, dbs, Realworldobject, Addshore, Niedzielski, 
Aklapper, despens, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to