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?