http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10994
Revision: 10994 Author: xqt Date: 2013-01-27 12:39:51 +0000 (Sun, 27 Jan 2013) Log Message: ----------- remove some obsolete items and methods; update from rewrite r10993
Modified Paths: -------------- trunk/pywikipedia/families/strategy_family.py trunk/pywikipedia/families/test_family.py trunk/pywikipedia/families/wikivoyage_family.py trunk/pywikipedia/families/wiktionary_family.py
Modified: trunk/pywikipedia/families/strategy_family.py =================================================================== --- trunk/pywikipedia/families/strategy_family.py 2013-01-27 12:38:06 UTC (rev 10993) +++ trunk/pywikipedia/families/strategy_family.py 2013-01-27 12:39:51 UTC (rev 10994) @@ -32,9 +32,6 @@ def dbName(self, code): return 'strategywiki_p'
- def shared_image_repository(self, code): - return ('commons', 'commons') - if config.SSL_connection:
def protocol(self, code):
Modified: trunk/pywikipedia/families/test_family.py =================================================================== --- trunk/pywikipedia/families/test_family.py 2013-01-27 12:38:06 UTC (rev 10993) +++ trunk/pywikipedia/families/test_family.py 2013-01-27 12:39:51 UTC (rev 10994) @@ -161,5 +161,3 @@ if family.config.SSL_connection: def protocol(self, code): return 'https' - -
Modified: trunk/pywikipedia/families/wikivoyage_family.py =================================================================== --- trunk/pywikipedia/families/wikivoyage_family.py 2013-01-27 12:38:06 UTC (rev 10993) +++ trunk/pywikipedia/families/wikivoyage_family.py 2013-01-27 12:39:51 UTC (rev 10994) @@ -90,9 +90,6 @@ def scriptpath(self, code): return u'/w'
- def shared_image_repository(self, code): - return ('commons', 'commons') - if family.config.SSL_connection:
def protocol(self, code):
Modified: trunk/pywikipedia/families/wiktionary_family.py =================================================================== --- trunk/pywikipedia/families/wiktionary_family.py 2013-01-27 12:38:06 UTC (rev 10993) +++ trunk/pywikipedia/families/wiktionary_family.py 2013-01-27 12:39:51 UTC (rev 10994) @@ -583,13 +583,6 @@ 'en': u'Sign gloss talk', }
- # 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 = [ @@ -687,9 +680,6 @@
self.interwiki_attop = ['pl']
- def shared_image_repository(self, code): - return ('commons', 'commons') - if family.config.SSL_connection:
def protocol(self, code):
pywikipedia-svn@lists.wikimedia.org