Bugs item #1969051, was opened at 2008-05-21 21:13 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1969051...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Closed
Resolution: Invalid
Priority: 5 Private: No Submitted By: Daniel Barrett (djbarrett) Assigned to: xqt (xqt) Summary: weblinkchecker should ignore URLs inside some tags
Initial Comment: Our MediaWiki site has a tag that runs database queries:
<sql>select foo from bar</sql>
Unfortunately, when the query includes a URL:
<sql>select 'http://blah' from bar</sql>
weblinkchecker.py thinks this is a real URL and reports:
http://blah' - Socket Error: 'getaddrinfo failed'
(Notice the single quote on the end of the URL.)
This problem should be preventable somehow: get pywikipedia to ignore strings that look like URLs when enclosed within certain parser tags.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-13 08:11
Message: revert to pyrev:8022 as requested at tracker 2986051
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2010-04-12 13:49
Message: done in pyrev:8076
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1969051...