http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9279
Revision: 9279 Author: xqt Date: 2011-05-29 09:43:01 +0000 (Sun, 29 May 2011) Log Message: ----------- fix r9278 missing comma
Modified Paths: -------------- branches/rewrite/pywikibot/textlib.py
Modified: branches/rewrite/pywikibot/textlib.py =================================================================== --- branches/rewrite/pywikibot/textlib.py 2011-05-29 09:40:40 UTC (rev 9278) +++ branches/rewrite/pywikibot/textlib.py 2011-05-29 09:43:01 UTC (rev 9279) @@ -592,7 +592,7 @@ prevents blank lines left over in category lists following a removal.) """
- text = replaceExcept(oldtext, categoryRN, '' + text = replaceExcept(oldtext, categoryRN, '', ['nowiki', 'comment', 'math', 'pre', 'source']) text = replaceExcept(text, categoryR, '', ['nowiki', 'comment', 'math', 'pre', 'source'])
pywikipedia-svn@lists.wikimedia.org