What is it?
This script adds additional filters for the WaniKani Open Framework. This means that other scripts that use the framework will be able to use these filters. I think this will be particularly useful for the Self-Study Quiz script, as these filters will allow you to customize which items you want to study.
Every filter is available by default. You can always choose which filters to use within the Self-Study script, but as more filters are added, the Self-Study script’s settings page could become cluttered. Therefore, in the main WaniKani menu, you can go to
Scripts > Settings > Additional Filters to remove the ones you never want to use.
How to Install?
- As always, make sure you have a script manager installed. If you don’t, follow these instructions.
- This script depends on the WaniKani Open Framework. Make sure you have that installed by following these instructions.
- Get the script here: https://greasyfork.org/en/scripts/40692-wanikani-open-framework-additional-filters
Make sure to place this script immediately after the WaniKani Open Framework in your script manager.
- (Optional) Install Self-Study Quiz to get the most out of using this script.
Filter items to show lessons taken in the last
X hours. You can change the number of hours to use for the filter. This filter will allow you to easily drill items you have just taken lessons for.
Only include leeches. Formula:
incorrect / currentStreak^1.5 >= X. This is the same formula used by hitechbunny’s various leech scripts, so using the default leech threshold of
X=1 should give you roughly the same leeches. The higher the value, the fewer items will be included as leeches.
Don’t Show Items Coming Up For Review
Only include items that have at least X% of their SRS interval remaining. This could be used in combination with other filters so that you don’t interfere with the SRS too significantly.
Valid values are from
100. For example:
75: At least 75% of an item’s SRS interval must be remaining. This means for
Apprentice 1 (4 hours interval), the item would only be included if there is at least 3 hours until the review. But for
Apprentice 2 (8 hours interval), the item would only be included if there is at least 6 hours until the review. And so on.
Failed Last Review
Only include items where the most recent review was failed. The input allows you to only include failed items whose last review was in the last
Only include items that contain at least one of the given kanji. You specify the list of kanji you want by just including them sequentially (no spaces needed). You can optionally add a space and a hyphen (
-) followed by another list of kanji that you want to exclude.
金: Returns all items containing the kanji 金.
金髪 -曜: Returns all items containing the kanji 金 or 髪, but not 曜.
I recommend using this filter with a kanji filter to directly quiz the kanji you include in this filter, or with a vocab filter to quiz similar items that you often get mixed up.
I’m more than happy to add additional filters, so let me know if you have any requests.
- 1.3.1 - Only redirect users to install the Open Framework if they want to.
1.3.0 - Add
1.2.0 - Add
Failed Last Reviewfilter.
1.1.0 - Add
Time Until Reviewfilter.
1.0.1 - Minimize API calls.
- Requires WaniKani Open Framework version 1.0.18 or higher.
1.0.0 - Initial release (includes