Lucas_Werkmeister_WMDE added a comment.
That’s weird. My first guess was that `mw.values.get( 'wbEntity' )` was missing, but it’s there AFAICT. So why is the WikibaseMediaInfo UI not picking it up? I can also reproduce the issue at https://commons.wikimedia.org/wiki/File:CSD_Berlin_2019_-_Lucas_Werkmeister_-_24_-_Bi,_Pan,_Ace_Flags.jpg?useparsoid=1 (so it’s not limited to `P180` / depicts). Looking at the code in `filepage/init.js`, I think the code is actually trying to “hydrate” the existing markup (rather than recreate it) – and it looks like the Parsoid markup has the statements group empty. (It’s present, but has no content.) Screenshot without JavaScript: F50162702: image.png <https://phabricator.wikimedia.org/F50162702> So we need to find out how that’s added in PHP – maybe some hook that Parsoid doesn’t use? (But then you’d expect it to be completely absent, not empty…) TASK DETAIL https://phabricator.wikimedia.org/T364228 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, taavi, Aklapper, Danny_Benjafield_WMDE, S8321414, Astuthiodit_1, SLopes-WMF, karapayneWMDE, toberto, Invadibot, GFontenelle_WMF, maantietaja, FRomeo_WMF, ItamarWMDE, DAlangi_WMF, Nintendofan885, Akuckartz, Dringsim, DannyS712, Nandana, JKSTNK, Jony, Amorymeltzer, Lahi, Gq86, E1presidente, Ramsey-WMF, Cparle, SandraF_WMF, GoranSMilovanovic, QZanden, KimKelting, Tramullas, Acer, LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Scott_WUaS, Susannaanas, Izno, Fuzheado, Jrf, Jane023, Wikidata-bugs, Base, matthiasmullie, aude, Daniel_Mietchen, cscott, Dinoguy1000, Ricordisamoa, Wesalius, Lydia_Pintscher, Raymond, ssastry, Arlolra, Jdforrester-WMF, Steinsplitter, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org