Revision: 5563 Author: siebrand Date: 2008-06-12 22:14:35 +0000 (Thu, 12 Jun 2008)
Log Message: ----------- removing use of decodeEsperantoX. It's evil...
http://eo.wikipedia.org/w/index.php?title=Sunfloro&diff=1775705&oldi...
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2008-06-12 06:24:30 UTC (rev 5562) +++ trunk/pywikipedia/wikipedia.py 2008-06-12 22:14:35 UTC (rev 5563) @@ -486,8 +486,6 @@ title = title.replace(u"''", u'%27%27') if underscore: title = title.replace(' ', '_') - if self.site().lang == 'eo': - title = decodeEsperantoX(title) return title
def titleWithoutNamespace(self, underscore=False): @@ -636,8 +634,6 @@ m = re.search("=+ *%s *=+" % hn, self._contents) if verbose and not m: output(u"WARNING: Section does not exist: %s" % self.aslink(forceInterwiki = True)) - if self.site().lang == 'eo': - self._contents = decodeEsperantoX(self._contents) # Store any exceptions for later reference except NoPage: self._getexception = NoPage