http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10000
Revision: 10000 Author: xqt Date: 2012-03-10 18:39:07 +0000 (Sat, 10 Mar 2012) Log Message: ----------- update wikibooks family file from trunk r9995
Modified Paths: -------------- branches/rewrite/pywikibot/families/wikibooks_family.py
Modified: branches/rewrite/pywikibot/families/wikibooks_family.py =================================================================== --- branches/rewrite/pywikibot/families/wikibooks_family.py 2012-03-10 18:37:59 UTC (rev 9999) +++ branches/rewrite/pywikibot/families/wikibooks_family.py 2012-03-10 18:39:07 UTC (rev 10000) @@ -23,7 +23,18 @@
for lang in self.languages_by_size: self.langs[lang] = '%s.wikibooks.org' % lang + # 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', + ] + # Which languages have a special order for putting interlanguage links, # and what order is it? If a language is not in interwiki_putfirst, # alphabetical order on language code is used. For languages that are in @@ -87,13 +98,5 @@ 'zu': None, # https://bugzilla.wikimedia.org/show_bug.cgi?id=25425 }
- # Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementat... - self.cross_allowed = ['af', 'ang', 'ca', 'fa', 'it', 'nl', 'ru', 'th', 'zh'] - # CentralAuth cross avaliable projects. - self.cross_projects = [ - 'wikipedia', 'wiktionary', 'wikiquote', 'wikiquote', 'wikinews', 'wikiversity', - 'meta', 'mediawiki', 'test', 'incubator', 'commons', 'species' - ] - def shared_image_repository(self, code): return ('commons', 'commons')
pywikipedia-svn@lists.wikimedia.org