Revision: 4351 Author: wikipedian Date: 2007-09-24 09:05:25 +0000 (Mon, 24 Sep 2007)
Log Message: ----------- applied patch [ 1794705 ] Fixing fallbacks in wikipedia.py for some Turkic languages by AlefZet
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2007-09-24 09:04:17 UTC (rev 4350) +++ trunk/pywikipedia/wikipedia.py 2007-09-24 09:05:25 UTC (rev 4351) @@ -4595,13 +4595,13 @@ return ['pt'] if code in ['mo','roa-rup']: return ['ro'] - if code in ['av','bxr','cv','hy','lbe','ru-sib','tg','tt','udm','uk','xal']: + if code in ['av','bxr','cv','hy','lbe','ru-sib','tg','udm','uk','xal']: return ['ru'] if code in ['be','be-x-old']: return ['be','be-x-old','ru'] - if code in ['kk','ky','tk']: - return ['tr','ru'] - if code in ['diq','ug','uz']: + if code in ['ky','tt','uz']: + return ['kk','tr','ru'] + if code in ['az','diq','tk','ug']: return ['tr'] if code in ['ja','minnan','zh','zh-cn']: return ['zh','zh-tw','zh-classical','zh-cn']
pywikipedia-l@lists.wikimedia.org