http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11037
Revision: 11037 Author: xqt Date: 2013-02-08 12:34:15 +0000 (Fri, 08 Feb 2013) Log Message: ----------- self.cross_projects is moved to family.WikimediaFamily class; update language_by_size
Modified Paths: -------------- branches/rewrite/pywikibot/families/wikibooks_family.py
Modified: branches/rewrite/pywikibot/families/wikibooks_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikibooks_family.py 2013-02-08 12:27:44 UTC (rev 11036) +++ branches/rewrite/pywikibot/families/wikibooks_family.py 2013-02-08 12:34:15 UTC (rev 11037) @@ -11,12 +11,12 @@ self.name = 'wikibooks'
self.languages_by_size = [ - 'en', 'de', 'fr', 'hu', 'ja', 'pt', 'it', 'nl', 'pl', 'es', 'vi', - 'he', 'sq', 'ca', 'fi', 'id', 'ru', 'cs', 'zh', 'hr', 'sv', 'tr', + 'en', 'de', 'fr', 'hu', 'ja', 'pt', 'it', 'nl', 'vi', 'pl', 'es', + 'he', 'sq', 'ca', 'id', 'fi', 'ru', 'cs', 'zh', 'hr', 'sv', 'tr', 'da', 'th', 'no', 'gl', 'fa', 'ko', 'sr', 'ta', 'ar', 'tl', 'mk', 'ro', 'is', 'tt', 'lt', 'ka', 'az', 'uk', 'eo', 'bg', 'el', 'hy', - 'sl', 'sk', 'si', 'li', 'la', 'ang', 'ia', 'cv', 'et', 'ur', 'mr', - 'ms', 'bn', 'hi', 'ml', 'oc', 'kk', 'eu', 'fy', 'ie', 'ne', 'te', + 'sl', 'sk', 'si', 'li', 'la', 'ang', 'ia', 'cv', 'et', 'ur', 'ms', + 'mr', 'bn', 'hi', 'ml', 'oc', 'kk', 'eu', 'fy', 'ie', 'ne', 'te', 'sa', 'af', 'tg', 'ky', 'bs', 'pa', 'mg', 'be', 'zh-min-nan', 'cy', 'ku', 'uz', ] @@ -24,13 +24,6 @@ self.langs = dict([(lang, '%s.wikibooks.org' % lang) for lang in self.languages_by_size])
- # CentralAuth cross avaliable projects. - self.cross_projects = [ - 'wiktionary', 'wikibooks', 'wikiquote', 'wikisource', 'wikinews', - 'wikiversity', 'meta', 'mediawiki', 'test', 'incubator', 'commons', - 'species', - ] - # Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementat... self.cross_allowed = [ 'af', 'ang', 'ca', 'fa', 'fy', 'it', 'nl', 'ru', 'th', 'zh',
pywikipedia-svn@lists.wikimedia.org