LucasWerkmeister created this task. LucasWerkmeister added projects: Browser-Support-Internet-Explorer, SDC General. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata.
TASK DESCRIPTION @Nikki reports that the Structured Data on Commons user interface does not work on Internet Explorer 11 – clicking on the “structured data” tab does nothing. In the console, an error appears: > SCRIPT5007: Object.getPrototypeOf: 'this' ist kein Objekt [translation: 'this' is not an object] I assume this is because, according to MDN <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf#Notes>, > In ES5, it will throw a `TypeError` exception if the //obj// parameter isn't an object. In ES2015, the parameter will be coerced to an `Object`. And WikibaseMediaInfo contains code like this: counterexample Object.getPrototypeOf( d[ key ] || '' ) === Object.prototype which directly relies on `Object.getPrototypeOf( '' )` being valid, even though apparently in ES5 it’s not. TASK DETAIL https://phabricator.wikimedia.org/T249556 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: LucasWerkmeister Cc: LucasWerkmeister, Nikki, Aklapper, CBogen, darthmon_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, Ramsey-WMF, Cparle, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Scott_WUaS, Susannaanas, Jane023, Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs