https://bugzilla.wikimedia.org/show_bug.cgi?id=55276
--- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- I see your point. Three notes:
1. Can this be an OPTION for weblinkchecker?
2. If not, can you at least strip off the trailing single quotes (shown in bug 1969051) so you don't get broken URLs? Since single quotes are valid in tags but should not be part of the URL.
3. In any case, you should revert pyrev:8076 because there is no such tag as <sql>.