[Userscript] Wanikani Item Inspector

So it’s like “Failed Last Review”, got that! Should have read that hover hint :blush: Thanks!

1 Like

Version 1.15.0 is out - Please download it at the link in the top post.

There is now explicit support for exporting a clickable link to an item page in Kitsun cards.


This feature has not been tested in Kitsun yet. @s1212z could you please try it and report if a clickable link is created in Kitsun? In theory the link should open in a separate tab to avoid disrupting an on going review session.

This version support information from the Kanjidic2 file. This is the file used by jisho for its Kanji entries. In item inspector only the stroke count, readings and meaning information for Wanikani kanji is supported. You may select this data in your popups and in exports.


There is also support for a new item type: Traditional Radicals. This means you can now display traditional radicals items in your table. You must enable the data source in your filter tab to get them.


The information available is

  • Stroke Count
  • Meaning
  • Reading

Also most filters don’t apply to traditional radicals because they are written for WK items only. In particular filters like Level and SRS Level will never apply to traditional radicals because these items are not part of Wanikani. Filters that are applicable to traditional radicals are marked as such in the filter tab.


There is a new table that allows you to use search on all Wanikani Items as well as Traditional radicals.


There are three new search filters than can search WK items as well as Traditional Radicals.


  • Extensive search is a filter that searches items based on their characters, the readings and meanings. It expands on the Global search in that it can search Kanjidic2 readings and meanings as well as traditional radicals.

  • Advanced Search is the swiss army of searches. For one thing it can search almost everywhere there is information to be searched.

    • Characters, readings and meaning, including Wanikani, Kanjidic2 and Traditional radicals
    • Can specify whether to search onyomi, kunyomi or nanori reading information
    • Part of speech
    • Wanikani allow list and block list
    • Reading and meaning mnemonics and hints
    • Context sentences
    • Reading and meaning notes, as well as user synonyms
    • Keisei semantic-phonetic composition
    • Supports wild cards to return items where information is present or absent
    • and more
  • Related search for discovering items related to others. The following relationships are supported

    • Items that are components of others
      • Radicals in kanji
      • Traditional radicals in kanji
      • Kanji in vocabulary
    • Items where components are used
      • Kanji using radicals
      • Kanji using traditional radicals
      • Vocabulary using kanji
    • Visually similar kanji
      • According to Wanikani
      • According to Lars Yencken
      • According to Niai
    • Keisei relationships
      • Phonetic compounds
      • Non-phonetic compounds
      • Related phonetic marks

Finally there is a number of new optional filters.

  • Lars Yencken Visually Similar: This is a filter by @Kumirei that does what the name says.

  • Joyo, JLPT, Frequency: This is a set of filters by @Kumirei that does what the name says.

  • Black List: This is a filter by @rfindley similar to the existing Item List filter that is used to black list items.

  • Kanjidic2/Traditional Radicals: This is a collection of filters using the new information.

    • There is a pair of stroke count filters
    • There is a filter to explicitly list the wanted items
    • There is a filter to explicitly block named items.

There is some duplication in function between this last explicit list filter and @rfindley item list filter. Similarly there is duplication between this last explicit block filter and @rfindley blacklist filter. The difference is this:

  • @rfindley filters are simple filters restricted to Wanikani items. They do the job simply and well.
  • My filters are more elaborate.
    • They allow listing traditional radicals. @rfindley filters don’t.
    • The editing boxes are larger and can be resized by dragging the handle on the bottom right side. This is more convenient when the item lists grow large.
    • It is possible to download the item lists to a file and upload it into the filter at a later time. This is convenient when you need to manage multiple lists of items.

Looks like Kitsun’s update accepts url links and I can confirm that. However, WII format won’t work for me.

From WII (using Mac/Numbers):
<a href="https://www.wanikani.com/vocabulary/%E5%B8%B8%E3%81%AB" target=" >voc 常に</a>

Needs something like:
<a href="https://www.wanikani.com/vocabulary/%E5%B8%B8%E3%81%AB">常に</a>

The target="_blank">voc is in all my csv. cells

1 Like

I need a clarification. You write:

<a href="https://www.wanikani.com/vocabulary/%E5%B8%B8%E3%81%AB" target=" >voc 常に</a>

There target="_blank" is truncated. Below you says

Which it is? Does it get truncated somewhere? I am confused.

Also I don’t understand why you mention ‘WII (using Mac/Numbers):’. Do you access Kitsun from a WII console? I am confused.

The target="_blank format is recommended by the maintainer of Kitsun. If you need HTML without it use the HTML for Anki format. This one doesn’t have target="_blank

WII = Wanikani Item Inspector :slightly_smiling_face: Should have put a ‘K’ in there :rofl:

I’m confused too. Either way, it doesn’t create a usable hyperlink and can confirm this is on the WKII side (not sure what was discussed though). But…

This worked for me, no issues! :+1:

1 Like

I am still confused by your answer. The issue is this part:

The two alternatives are very different to me because:

  1. A truncated target="_blank"attribute is clearly broken. This is a problem.
  2. A non truncated target attribute is standard HTML to request the opening of the link in a new tab. This is the intended format.

Opening in a new tab has been recommended by @neicul because if a user click on a link during a review session and the page opens in the same tab the review session is prematurely terminated. Opening in a separate tab solves this problem.

I am glad that the Anki HTML works for you but this opens the link in the same tab. I need to debug it so the link opens in a new tab. I will appreciate if you help me debug this because I don’t have a Kitsun account.

I think is is important to find out whether the attribute is truncated and which step in the process does the truncation. Is it Item Inspector? Is it Mac/Numbers?

I have reread your previous post and it sounds like Mac/Numbers truncates the target attribute but the original csv is not truncated. Am I right?

Your previous post also sounds like the target attribute causes clickable links not to open at all, new tab or not. Am I right?


So I went back on the original ‘Kitsun’ HTML export, and re-tried a few different templates with new imports and this seems to works as expected (creating new tab opening). I was unable re-create the issues I had yesterday so this may have been on my end on where I was importing within the card (sorry for any confusion). And yes, the Anki version works but does not create a new tab as expect (I’m so used of WK’s review page that I right click everything now), sorry for any confusion. Nice work, this is such a great tool for many and thanks for refining for Kitsun users.


I am glad to hear this. :partying_face:

Thank you for your work. You are of a great help. :+1: