http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9989
Revision: 9989 Author: xqt Date: 2012-03-10 17:55:23 +0000 (Sat, 10 Mar 2012) Log Message: ----------- Format doc to PEP 8
Modified Paths: -------------- trunk/pywikipedia/families/wikinews_family.py
Modified: trunk/pywikipedia/families/wikinews_family.py =================================================================== --- trunk/pywikipedia/families/wikinews_family.py 2012-03-10 17:52:20 UTC (rev 9988) +++ trunk/pywikipedia/families/wikinews_family.py 2012-03-10 17:55:23 UTC (rev 9989) @@ -252,8 +252,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, @@ -265,6 +265,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',
pywikipedia-svn@lists.wikimedia.org