Revision: 5161 Author: cosoleto Date: 2008-03-24 12:13:40 +0000 (Mon, 24 Mar 2008)
Log Message: ----------- undo 4966 too
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2008-03-24 10:49:15 UTC (rev 5160) +++ trunk/pywikipedia/wikipedia.py 2008-03-24 12:13:40 UTC (rev 5161) @@ -4926,12 +4926,7 @@
""" if default: - if self.lang == 'ar': - # It won't work with REDIRECT[[]] but it work with the local, - # if problems, try to find a work around. FixMe! - return self.family.redirect.get(self.lang, [u"تحويل"])[0] - else: - return self.family.redirect.get(self.lang, [u"REDIRECT"])[0] + return self.family.redirect.get(self.lang, [u"REDIRECT"])[0] else: return self.family.redirect.get(self.lang, None)