[Pywikipedia-l] [ pywikipediabot-Bugs-1969051 ] weblinkchecker should ignore URLs inside some tags

SourceForge.net noreply at sourceforge.net
Wed May 21 19:13:48 UTC 2008


Bugs item #1969051, was opened at 2008-05-21 15:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1969051&group_id=93107

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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Barrett (djbarrett)
Assigned to: Nobody/Anonymous (nobody)
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1969051&group_id=93107



More information about the Pywikipedia-l mailing list