daniel added a comment.
In T222299#5153801 <https://phabricator.wikimedia.org/T222299#5153801>, @Smalyshev wrote: > BTW I am not sure how MediaInfoIdLookup is supposed to work: Oh right, that implementation was only for the standalone MediaInfo. Sorry about that. > The file pages are in NS_FILE namespace and generating MediaInfoId from their title is sure to fail. Actually, the MediaInfoId can be generated from the Title object. It's based on the page ID. No access to the slot is needed. The implication is however that there can only be one entity per page, in any slot. That's fine for now, but a bit annoying and arbitrary. One might expect that multiple entities could reside in different slots. Not to speak of "sub-entities". 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
