Redirects over interwiki links
lahwaacz opened this issue · 2 comments
Wiki Monkey can't deal with redirects over interwiki links, e.g. this one. Before I fixed it, the page redirected to this url and Wiki Monkey choked when I wanted to sort interlanguage links on other page.
Just thought I'd let you know...
Thanks, it's fixed now in the develop branch: this should be a rather rare bug, so I don't feel the need to do a release, I think you're using your own fork so you can pull the patch, right?
Actually the fix consists in just showing a warning and continuing the execution, leaving the offending interlanguage link as it is: if the redirect uses a real external interwiki link, its target couldn't be checked for interlanguage links anyway; internal/fake interwiki links are peculiar to the ArchWiki, and shouldn't be used in redirects in the first place, so I think issuing a warning is the proper way to fix this :)
Agreed, warning is just fine. Unfortunately there is no way to test this :D and I think there will be many releases before I come across this issue again.
Edit: I see that you've already tested the commit, so everything should be fine ;)