matthiasmullie added a comment.
> Can we just keep `getSitelink` method, and make it return //nil// when applied to MediaInfo entities? Yes - bringing it back as a no-op (for now at least) > The difference between the two files is that the first one has SDC statements and labels and the second one does not. So it seems like only files with SDC statements are affected by this issue. Yes, it appears that as soon as a MediaInfo entity gets created, the code to delete `getSitelink` gets run and has the unfortunate side-effect from deleting it in the parent metatable as well... TASK DETAIL https://phabricator.wikimedia.org/T240563 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: matthiasmullie Cc: Keegan, Multichill, Jarekt, Lucas_Werkmeister_WMDE, matthiasmullie, Aklapper, Lea_Lacroix_WMDE, Liuxinyu970226, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, Meekrab2012, joker88john, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Af420, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
