"TypeError: data is undefined" in Merge game
Issue #104
new
When I try to load http://tools.wmflabs.org/wikidata-game/#mode=merge on Firefox 29 I get the error "TypeError: data is undefined" from this line of main.js: if ( typeof self.had_id[data.id] != 'undefined' ) return self.getAndShow ( show ) ;
Comments (2)
-
-
- changed title to "TypeError: data is undefined" in Merge game
added "merge game" to the title
- Log in to comment
I can confirm the behaviour when my settings were "Only use preferred languages" and I only had one language (pt) set. (Otherwise it is fine).
@he7d3r Are your settings similar?
Per issue #106 merge pairs should never contain more than one occurrence of a language so I'm guessing the game simply does not find any data to deliver. Should be possible to set up an error message along the lines of "No merge candidates could be found (for your current settings)" if no candidates are found.