User:Opencooper/showKanji-dev.js: Difference between revisions

Content deleted Content added
tweak
forgot a check
Line 234:
 
// Try getting nameInKana as a general claim
if (!kana && response.claims[nameInKana]) {
prop = "nameInKana";
kana = response.claims[nameInKana][0].mainsnak.datavalue.value;