http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10095
Revision: 10095 Author: xqt Date: 2012-04-08 14:58:35 +0000 (Sun, 08 Apr 2012) Log Message: ----------- remove duplicate obsolete dictionary (follow-up fix for r9999) update language_by_size from trunk r10094
Modified Paths: -------------- branches/rewrite/pywikibot/families/wikinews_family.py
Modified: branches/rewrite/pywikibot/families/wikinews_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikinews_family.py 2012-04-08 13:55:50 UTC (rev 10094) +++ branches/rewrite/pywikibot/families/wikinews_family.py 2012-04-08 14:58:35 UTC (rev 10095) @@ -12,23 +12,13 @@
self.languages_by_size = [ 'sr', 'en', 'pl', 'fr', 'de', 'it', 'es', 'pt', 'zh', 'ru', 'ja', - 'sv', 'ta', 'ca', 'cs', 'el', 'fa', 'fi', 'ar', 'ro', 'he', 'bg', + 'sv', 'ta', 'ca', 'el', 'cs', 'fa', 'fi', 'ar', 'ro', 'he', 'bg', 'tr', 'sd', 'sq', 'uk', 'no', 'bs', 'eo', 'ko', ]
for lang in self.languages_by_size: self.langs[lang] = '%s.wikinews.org' % lang
- self.obsolete = { - 'hu': None, # https://bugzilla.wikimedia.org/show_bug.cgi?id=28342 - 'jp': 'ja', - 'nb': 'no', - 'nl': None, # https://bugzilla.wikimedia.org/show_bug.cgi?id=20325 - 'th': None, # https://bugzilla.wikimedia.org/show_bug.cgi?id=28341 - 'zh-tw': 'zh', - 'zh-cn': 'zh' - } - # CentralAuth cross avaliable projects. self.cross_projects = [ 'wiktionary', 'wikibooks', 'wikiquote', 'wikisource', 'wikinews',
pywikipedia-svn@lists.wikimedia.org