http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9276
Revision: 9276 Author: xqt Date: 2011-05-29 09:11:40 +0000 (Sun, 29 May 2011) Log Message: ----------- revert r4823 replacing obsolete codes, fix for bug #3305243; update from trunk r9275
Modified Paths: -------------- branches/rewrite/pywikibot/textlib.py
Modified: branches/rewrite/pywikibot/textlib.py =================================================================== --- branches/rewrite/pywikibot/textlib.py 2011-05-29 09:03:51 UTC (rev 9275) +++ branches/rewrite/pywikibot/textlib.py 2011-05-29 09:11:40 UTC (rev 9276) @@ -480,8 +480,8 @@ firstsites = [] for code in putfirst: # The code may not exist in this family? - if code in insite.family.obsolete: - code = insite.family.obsolete[code] +## if code in insite.family.obsolete: +## code = insite.family.obsolete[code] if code in insite.validLanguageLinks(): site = insite.getSite(code = code) if site in sites: