http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9432
Revision: 9432
Author: xqt
Date: 2011-08-12 05:14:59 +0000 (Fri, 12 Aug 2011)
Log Message:
-----------
somtimes it breaks templates
http://de.wikipedia.org/w/index.php?title=Vorlage:ANNO&diff=prev&ol…
Modified Paths:
--------------
trunk/pywikipedia/cosmetic_changes.py
Modified: trunk/pywikipedia/cosmetic_changes.py
===================================================================
--- trunk/pywikipedia/cosmetic_changes.py 2011-08-07 12:37:28 UTC (rev 9431)
+++ trunk/pywikipedia/cosmetic_changes.py 2011-08-12 05:14:59 UTC (rev 9432)
@@ -435,6 +435,8 @@
# ignore ' see
http://eo.wikipedia.org/w/index.php?title=Liberec&diff=next&oldid=2…
#if self.site.lang == 'eo':
# ignore += [39]
+ if self.template:
+ ignore += [58]
text = pywikibot.html2unicode(text, ignore = ignore)
return text