Revision: 7681 Author: xqt Date: 2009-11-23 08:35:56 +0000 (Mon, 23 Nov 2009)
Log Message: ----------- ignore putSpacesInLists within <source />
Modified Paths: -------------- trunk/pywikipedia/cosmetic_changes.py
Modified: trunk/pywikipedia/cosmetic_changes.py =================================================================== --- trunk/pywikipedia/cosmetic_changes.py 2009-11-22 22:33:38 UTC (rev 7680) +++ trunk/pywikipedia/cosmetic_changes.py 2009-11-23 08:35:56 UTC (rev 7681) @@ -444,7 +444,7 @@ If there are any complaints, please file a bug report. """ if not self.redirect: - text = pywikibot.replaceExcept(text, r'(?m)^(?P<bullet>[:;]*(*+|#+)[:;*#]*)(?P<char>[^\s*#:;].+?)', '\g<bullet> \g<char>', ['comment', 'math', 'nowiki', 'pre']) + text = pywikibot.replaceExcept(text, r'(?m)^(?P<bullet>[:;]*(*+|#+)[:;*#]*)(?P<char>[^\s*#:;].+?)', '\g<bullet> \g<char>', ['comment', 'math', 'nowiki', 'pre', 'source']) return text
#from fixes.py
pywikipedia-svn@lists.wikimedia.org