Revision: 8076 Author: xqt Date: 2010-04-12 11:49:08 +0000 (Mon, 12 Apr 2010)
Log Message: ----------- weblinkchecker should ignore URLs inside <sql /> tags (bugfix #1969051)
Modified Paths: -------------- trunk/pywikipedia/pywikibot/textlib.py
Modified: trunk/pywikipedia/pywikibot/textlib.py =================================================================== --- trunk/pywikipedia/pywikibot/textlib.py 2010-04-12 06:33:28 UTC (rev 8075) +++ trunk/pywikipedia/pywikibot/textlib.py 2010-04-12 11:49:08 UTC (rev 8076) @@ -201,6 +201,7 @@ 'pre': r'<pre>.*?</pre>', 'source': r'<source .*?</source>', 'syntaxhighlight': r'<syntaxhighlight .*?</syntaxhighlight>', + 'sql': r'<sql>.*?</sql>', } if '*' in tags: tags = regexes.keys()