Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
TW incorrectly deletes a page as a redirect to a CSD target when it is not. #296
I used twinkle to delete https://en.wikipedia.org/w/index.php?title=Ruben_Correa per G10. It deleted https://en.wikipedia.org/wiki/User_talk:Rjwilmsi on that basis that it was a redirect to that article, however it was not. This was the state of the page when it was deleted: [https://en.wikipedia.org/w/index.php?title=User_talk:RjwilmsiBot&oldid=686505612].
The bug appears to be in not realizing the redirect is separate from the message below the redirect.
The modules uses the query/backlinks API to get the redirects; it doesn't parse the page at all; so if something went wrong, it's due to MW borking out. see https://github.com/azatoth/twinkle/blob/master/modules/twinklespeedy.js#L1136-L1187