Lucas_Werkmeister_WMDE added a comment.

  > but then where does Wikibase(MediaInfo) get the idea that this is the real 
entity ID of the entity it’s loading from page 81625979?
  
  Ah, that’s where:
  
    >>> $services = MediaWiki\MediaWikiServices::getInstance();
    => MediaWiki\MediaWikiServices {#211}
    >>> $revision = $services->getRevisionStore()->getRevisionByPageId( 
81625979 );
    => MediaWiki\Revision\RevisionStoreRecord {#3075}
    >>> $services->getBlobStore()->getBlob( $revision->getSlot( 'mediainfo' 
)->getAddress() );
    => 
"{"type":"mediainfo","id":"M77688146","labels":{"en":{"language":"en","value":"Bolsonaro
 with Israeli PM Benjamin Netanyahu, Tel Aviv, 31 March 
2019"}},"descriptions":[],"statements":[]}"
  
  It’s part of the serialization. Not sure why that would be a new issue, 
though – this seems like a fairly fundamental issue (tying the page ID to the 
page content even though it’s not stable across delete+restore). Is it possible 
that File:Bolsonaro_etc is just the first file with structured data that was 
deleted and then restored?

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

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

To: Lucas_Werkmeister_WMDE
Cc: ArielGlenn, Lucas_Werkmeister_WMDE, Liuxinyu970226, Aklapper, 
zeljkofilipin, darthmon_wmde, alaa_wmde, DannyS712, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, 
Wikidata-bugs, aude, Ricordisamoa, Lydia_Pintscher, Jdforrester-WMF, Mbch331, 
Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to