https://bugzilla.wikimedia.org/show_bug.cgi?id=60670
Web browser: --- Bug ID: 60670 Summary: JS errors on SomeValueSnak/NoValueSnak Product: MediaWiki extensions Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: WikidataRepo Assignee: wikidata-b...@lists.wikimedia.org Reporter: daniel.kinz...@wikimedia.de CC: wikidata-b...@lists.wikimedia.org Classification: Unclassified Mobile Platform: --- Some code seems to assume all Snaks have the getValue() and getType() methods, but SomeValueSnak and NoValueSnak don't. This triggeres JS errors, causing the page to be only partially initialized: When loading Q38 on wikidata.org with FF 26.0 (logged in), I get: TypeError: snak.getValue is not a function In chromium, I get: TypeError: Object #<WbPropertyNoValueSnak> has no method 'getValue' -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l