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

Content deleted Content added
trying to support see tables that point to other entries
comment
 
(One intermediate revision by the same user not shown)
Line 51:
https://en.wikipedia.org/wiki/Ninjō - No interlanguage, but wiktionary
https://en.wikipedia.org/wiki/Seiza - Interlanguage failed, but wiktionary
https://en.wikipedia.org/wiki/Epsomite - No interlanguage, but wiktionary "see" Table
https://en.wikipedia.org/wiki/Bakayaro!_I%27m_Plenty_Mad - only part of parenthesis extracted
 
Line 433 ⟶ 434:
}
}
if (kanji != wikidataKanji) { return; }
} else if (seeTable.length) {
kanji = seeTable.children("rb").text();
Line 439 ⟶ 442:
return;
}
 
if (kanji != wikidataKanji) { return; }
 
if (kana) {