I still think the script should disallow redirects to
redirects,
but anyways, here's a small bug: (if you think it's a big one I'll
add it to bug tracker)
It does ignore double-redirects, and always has. I don't know
what you mean by "disallow"...I could intercept the page-save
function and check to see if the page being saved is a redirect
to a redirect and fail to save it, but that would be throw away
user edits that might be valuable, and it still wouldn't catch
the case where the user saved a redirect to a full page, then
edited that full page to be a redirect.
The reason I only went three levels of recursion on the what
links here page is that that's enough to spot double-redirects
and fix them.
[what links here] is not correct because the redirect
from
"Redirect to a redirect" is missing.
You somehow managed to create the "Redirect to a redirect"
page without updating the link tables. I'm curious how you
managed that. When I edited that article and resaved it. it
worked fine.
0