http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11357
Revision: 11357 Author: amir Date: 2013-04-08 08:11:24 +0000 (Mon, 08 Apr 2013) Log Message: ----------- fixing bug #3610288 I'm not sure it's the best way
Modified Paths: -------------- trunk/pywikipedia/pywikibot/textlib.py
Modified: trunk/pywikipedia/pywikibot/textlib.py =================================================================== --- trunk/pywikipedia/pywikibot/textlib.py 2013-04-07 14:50:30 UTC (rev 11356) +++ trunk/pywikipedia/pywikibot/textlib.py 2013-04-08 08:11:24 UTC (rev 11357) @@ -252,6 +252,7 @@ 'pre': r'<pre>.*?</pre>', 'source': r'<source .*?</source>', 'syntaxhighlight': r'<syntaxhighlight .*?</syntaxhighlight>', + 'templategoof': r'{{\s*?|.+?}}', } if '*' in tags: tags = regexes.keys()