http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9990
Revision: 9990 Author: xqt Date: 2012-03-10 17:56:00 +0000 (Sat, 10 Mar 2012) Log Message: ----------- Format doc to PEP 8, update from trunk r9989
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-03-10 17:55:23 UTC (rev 9989) +++ branches/rewrite/pywikibot/families/wikinews_family.py 2012-03-10 17:56:00 UTC (rev 9990) @@ -33,8 +33,8 @@ # 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 # interwiki_putfirst, interwiki_putfirst is checked first, and - # languages are put in the order given there. All other languages are put - # after those, in code-alphabetical order. + # languages are put in the order given there. All other languages are + # put after those, in code-alphabetical order. self.interwiki_putfirst = { 'en': self.alphabetic, 'fi': self.alphabetic, @@ -46,6 +46,7 @@
# Global bot allowed languages on http://meta.wikimedia.org/wiki/Bot_policy/Implementation#Current_implementat... self.cross_allowed = ['ca', 'cs', 'fa',] + # CentralAuth cross avaliable projects. self.cross_projects = [ 'wikipedia', 'wiktionary', 'wikibooks', 'wikiquote', 'wikisource', 'wikiversity',