http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9995
Revision: 9995 Author: xqt Date: 2012-03-10 18:14:34 +0000 (Sat, 10 Mar 2012) Log Message: ----------- Global bot for fy-wikibooks (but without global bot policy)
Modified Paths: -------------- trunk/pywikipedia/families/wikibooks_family.py
Modified: trunk/pywikipedia/families/wikibooks_family.py =================================================================== --- trunk/pywikipedia/families/wikibooks_family.py 2012-03-10 18:00:40 UTC (rev 9994) +++ trunk/pywikipedia/families/wikibooks_family.py 2012-03-10 18:14:34 UTC (rev 9995) @@ -411,6 +411,18 @@ 'si': u'කණිෂ්ඨ විකි සාකච්ඡාව', }
+ # 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 @@ -474,14 +486,6 @@ '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