daniel added a comment.

  There is MediaInfoIdLookup 
<https://github.com/wikimedia/mediawiki-extensions-WikibaseMediaInfo/blob/master/src/Services/MediaInfoIdLookup.php>
 which does what you need, I think. But the question remains - how would 
dumpRdf know to use it?
  
  I think the answer will be that MediaInfo will need to hook into the 
EntityIdLookup service in a way that allows this to work. Or into 
EntityByLinkedTitleLookup. The two are pretty similar, though EntityIdLookup is 
intended to be based on the page that *stores* the entity, while 
EntityByLinkedTitleLookup is intended to be based on the title of the page that 
is "connected" to the entity (normally via sitelinks). File pages are both, 
really: the entity is stored there, and it's also the page for which the entity 
is the default for data access. So ideally, both EntityIdLookup and 
EntityByLinkedTitleLookup would be configured to do the right thing for 
MediaInfo.

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

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

To: daniel
Cc: Mholloway, WMDE-leszek, Jdforrester-WMF, matthiasmullie, Cparle, daniel, 
Lucas_Werkmeister_WMDE, Tpt, Addshore, Ramsey-WMF, Aklapper, Smalyshev, 
alaa_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, Anooprao, 
SandraF_WMF, GoranSMilovanovic, QZanden, EBjune, Tramullas, Acer, merbst, 
LawExplorer, Salgo60, Silverfish, Poyekhali, _jensen, rosalieper, Jonas, 
Xmlizer, Susannaanas, Wong128hk, Jane023, jkroll, Wikidata-bugs, Jdouglas, 
Base, aude, Tobias1984, El_Grafo, Dinoguy1000, Manybubbles, Ricordisamoa, 
Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331, 
Keegan
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to