http://www.mediawiki.org/wiki/Special:Code/pywikipedia/8936
Revision: 8936 Author: xqt Date: 2011-02-07 13:39:46 +0000 (Mon, 07 Feb 2011) Log Message: ----------- use gsw as _altcode for als (update from rewrite r8935
Modified Paths: -------------- trunk/pywikipedia/pywikibot/i18n.py
Modified: trunk/pywikipedia/pywikibot/i18n.py =================================================================== --- trunk/pywikipedia/pywikibot/i18n.py 2011-02-07 13:37:55 UTC (rev 8935) +++ trunk/pywikipedia/pywikibot/i18n.py 2011-02-07 13:39:46 UTC (rev 8936) @@ -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']: