http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11364
Revision: 11364 Author: xqt Date: 2013-04-08 21:06:10 +0000 (Mon, 08 Apr 2013) Log Message: ----------- fix for bug #3610296
Modified Paths: -------------- trunk/pywikipedia/pywikibot/textlib.py
Modified: trunk/pywikipedia/pywikibot/textlib.py =================================================================== --- trunk/pywikipedia/pywikibot/textlib.py 2013-04-08 20:25:34 UTC (rev 11363) +++ trunk/pywikipedia/pywikibot/textlib.py 2013-04-08 21:06:10 UTC (rev 11364) @@ -949,7 +949,7 @@ continue
# {{#if: }} - if name.startswith('#'): + if not name or name.startswith('#'): continue
## TODO: merged from wikipedia.py - implement the following