Revision: 5766 Author: purodha Date: 2008-07-28 12:34:30 +0000 (Mon, 28 Jul 2008)
Log Message: ----------- Quick fix for bug introduced with revision 5764. Likely, this needs to be fixed in a more general fashion, for all families.
Modified Paths: -------------- trunk/pywikipedia/families/wikipedia_family.py
Modified: trunk/pywikipedia/families/wikipedia_family.py =================================================================== --- trunk/pywikipedia/families/wikipedia_family.py 2008-07-27 12:13:16 UTC (rev 5765) +++ trunk/pywikipedia/families/wikipedia_family.py 2008-07-28 12:34:30 UTC (rev 5766) @@ -960,3 +960,9 @@ return wikipedia.decodeEsperantoX(getText) else: return getText + + def pre_put_convert(self, site, getText): + if site.lang == 'eo': + return wikipedia.encodeEsperantoX(getText) + else: + return getText