Addshore added a comment.

  While investigating one of the issues highlighted in  T257266 
<https://phabricator.wikimedia.org/T257266> I found the following:
  
    addshore@deploy1001:~$ mwscript shell.php --wiki test2wiki
    Psy Shell v0.10.4 (PHP 7.2.31-1+0~20200514.41+debian9~1.gbpe2a56b+wmf1 — 
cli) by Justin Hileman
    >>>
    >>> 
Wikibase\Client\WikibaseClient::getDefaultInstance()->getStore()->getSiteLinkLookup()->getItemIdForLink(
 'test2wiki', 'February' );
    => Wikibase\DataModel\Entity\ItemId {#4975}
    >>> 
Wikibase\Client\WikibaseClient::getDefaultInstance()->getStore()->getSiteLinkLookup()->getItemIdForLink(
 'testcommonswiki', 'FooLinked' );
    => Wikibase\DataModel\Entity\ItemId {#4956}
    >>>
    >>>
    addshore@deploy1001:~$ mwscript shell.php --wiki testcommonswiki
    Psy Shell v0.10.4 (PHP 7.2.31-1+0~20200514.41+debian9~1.gbpe2a56b+wmf1 — 
cli) by Justin Hileman
    >>>
    >>> 
nt\WikiWikibase\Client\WikibaseClient::getDefaultInstance()->getStore()->getSiteLinkLookup()->getItemIdForLink(
 'test2wiki', 'February' );
    => null
    >>> 
Wikibase\Client\WikibaseClient::getDefaultInstance()->getStore()->getSiteLinkLookup()->getItemIdForLink(
 'testcommonswiki', 'FooLinked' );
    => null
  
  This suggests that testcommons client code can not access the testwikidata 
repo dbs for things such as the site link lookup...
  This would explain sitelinks (and other things) breaking when we rolled 
forward with this change on real commons

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

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

To: Addshore
Cc: Addshore, Aklapper, WMDE-leszek, Alter-paule, Beast1978, CBogen, Un1tY, 
Akuckartz, Hook696, Iflorez, darthmon_wmde, Kent7301, alaa_wmde, joker88john, 
CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Bsandipan, GoranSMilovanovic, QZanden, EBjune, LawExplorer, Lewizho99, 
Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to