http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9275
Revision: 9275 Author: xqt Date: 2011-05-29 09:03:51 +0000 (Sun, 29 May 2011) Log Message: ----------- revert r4823 replacing obsolete codes, fix for bug #3305243
Modified Paths: -------------- trunk/pywikipedia/pywikibot/textlib.py
Modified: trunk/pywikipedia/pywikibot/textlib.py =================================================================== --- trunk/pywikipedia/pywikibot/textlib.py 2011-05-27 10:17:56 UTC (rev 9274) +++ trunk/pywikipedia/pywikibot/textlib.py 2011-05-29 09:03:51 UTC (rev 9275) @@ -507,8 +507,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:
pywikipedia-svn@lists.wikimedia.org