It appears that the old version of Burn Reviews is no longer being maintained and no longer works so I am now taking over maintenance of it.
This script adds a section to the WaniKani dashboard that gives random reviews of previously burned items. If you get a review incorrect, it will ask you if you wish to resurrect it.
Like other userscripts you will need Greasemonkey (Firefox) or Tampermonkey (Chrome) to use this script.
If you find any bugs or have a feature request, open an issue on the github
Known issues:
Resurrect button doesn’t work. This is because of a change in Wanikani’s resurrect URLs that uses new item IDs that are currently only present in version 2 of the API. Given that API v2 is still in Alpha, and is subject to change, this issue will likely persist until the new API reaches full stable release, as it is not worth the rewrite until then.
Update Log:
v 2.2.5
Fix for bug where english answers ending in ‘n’ weren’t accepted.
v 2.2.4
Fixes for changes of URLs that the script relied on
WanaKana now included using an @require directive (thanks @rfindley)
Fix for url and page layout change when automatically fetching the API key
Trailing n in responses is replaced with ん (thanks @Subversity)
Fix for capturing Enter key when using WK search field(again thanks @Subversity)
v 2.2.1
Fix for new bug that crept in
v 2.2.0
Massive amounts of refactoring, like wow.
Automatically fetch API key instead of requiring manual user input
Actually works with wanikani’s fluid layout now
Small styling change to make the buttons more even on both sides.
edit: (apologies for the double post, I put this on the other thread first, but this is where it belongs)
Hey jonnydark thank you for getting this script running again. I’m encountering a problem whereby kun-yomi readings don’t seem to exist and are therefore marked wrong. Check out the screenshot:
I typed “さま” for 様 and it came up as incorrect. Same with 買 when I typed ”か".
Definitely going to give it a try since I like the idea of it and the old one didn’t work anymore when I found it.
Edit: I just tried it out, entered my API key and it doesn’t seem to work, it just shows me the same as the old script. I did try it with all other scripts disabled (and there shouldn’t be anything else interfering), but no luck.
@chrispthompson Hey! Thanks for reporting this. Your bug has been filed here: https://github.com/jonnydark/wanikani-burn/issues/1 So far I’ve only managed to fix the issues that were superficially stopping it from working, so it doesn’t surprise me that the code has rotted in a few places.
@RayderBlitz Thanks for letting me know I’m going to need a bit more information before I can fix that issue, because naturally I can’t reproduce it. For the sake of my own sanity, can you file a bug here https://github.com/jonnydark/wanikani-burn/issues If you can provide a screenshot of the problem as well as what browser you’re using. Also if you could tell me if there are any errors in the console (press F12), that’d be very helpful.
@RayderBlitz Thanks, I just saw that. I’ll look in to it when I can
@chrispthompson That issue is now fixed, the API had changed since the script was originally written. If you update to the most recent version (2.0.1) the kunyomi readings should now be correct.
jonnydark said...
@RayderBlitz Thanks, I just saw that. I'll look in to it when I can :)
@chrispthompson That issue is now fixed, the API had changed since the script was originally written. If you update to the most recent version (2.0.1) the kunyomi readings should now be correct.
awesome! Thanks again for bringing this script back to life!
jonnydark said...
@RayderBlitz Thanks, I just saw that. I'll look in to it when I can :)
Thank you. I look forward to seeing how much of the burns i actually remember now, when the script works. No hurry though, just work on it whenever you're bored or smth. c(°_:_°)つ
Also, just in case you plan to also add features (and if I didn't just miss that one), an option to prioritize older burns might be pretty neat. I'm only throwing it out there, no pressure - already happy that someone decided to pick the script up at all.
Probably a stupid question, but should I uninstall the other Burn Reviews and then install this one or does this one overlay/in addition to the previous script (is that what y’all mean by ‘fork’?)
frankiebluej said...
Probably a stupid question, but should I uninstall the other Burn Reviews and then install this one or does this one overlay/in addition to the previous script (is that what y'all mean by 'fork'?)
~frankiebluej
Yes you should uninstall the old one. The old one has bugs and is no longer being maintained so remove it and install the new if you want the script to keep working.
frankiebluej said...
Probably a stupid question, but should I uninstall the other Burn Reviews and then install this one or does this one overlay/in addition to the previous script (is that what y'all mean by 'fork'?)
~frankiebluej
Yes you should uninstall the old one. The old one has bugs and is no longer being maintained so remove it and install the new if you want the script to keep working.
Fantastic. Haven’t tried it yet (still neck-deep in regular reviews) but I am glad someone finally got around to fixing this essential piece of wanikani.
Thank you.
May your mushrooms always be sauteed and your onions always grilled.
Sorry this update took so long, there was a shitton of refactoring to do. The codebase should now be more sane such that if I (like the previous maintainer) lose interest in maintaining this script at some point in the future, then it can be picked up easily by someone else.
And around line 912 or 913, remove the following line:
importWanaKana();
I played around with this for a moment, and if you answer an item wrong, the popup that asks if you want to resurrect an item doesn’t seem to have a way to cancel it. But you can click on the “New Item” button to close the popup and move on. Kind of goofy, but it is what it is.
Ahh… I never made the connection between your WK username and your real name. Good to know!
FYI, I linked to a greasyfork.org copy of Wanakana due to greasyfork’s terms-of-service. External links must be to an approved server, and in cases like github (via rawgit.com), the link must be to a commit-specific version… which is probably a good idea anyway, for several reasons.
Thanks for the Wanakana update info! It’s a nice piece of software
I just grabbed the v 2.2.2 script (first time user) and it doesn’t seem to be working. I see that I no longer need to manually add my API key but it’s just stuck on ‘Retrieving radical data…’ and doesn’t seem to do anything from there…
Do you have any errors in the Javascript console? (press F12, click on Console tab)
Do you have TamperMonkey or GreaseMonkey script manager installed?
What OS and browser?