http://www.mediawiki.org/wiki/Special:Code/pywikipedia/8935
Revision: 8935 Author: xqt Date: 2011-02-07 13:37:55 +0000 (Mon, 07 Feb 2011) Log Message: ----------- use gsw as _altcode for als
Modified Paths: -------------- branches/rewrite/pywikibot/i18n.py
Modified: branches/rewrite/pywikibot/i18n.py =================================================================== --- branches/rewrite/pywikibot/i18n.py 2011-02-07 13:27:25 UTC (rev 8934) +++ branches/rewrite/pywikibot/i18n.py 2011-02-07 13:37:55 UTC (rev 8935) @@ -44,8 +44,10 @@ #German if code in ['bar', 'frr', 'ksh', 'pdc', 'pfl']: return ['de'] - if code in ['als', 'lb']: + if code == 'lb': return ['de', 'fr'] + if code == 'als': + return ['gsw', 'de'] if code == 'nds': return ['nds-nl', 'de'] if code in ['dsb', 'hsb']:
pywikipedia-svn@lists.wikimedia.org