Revision: 6880 Author: alexsh Date: 2009-05-13 09:13:31 +0000 (Wed, 13 May 2009)
Log Message: ----------- Fix security connection on wikiversity:beta host name
Modified Paths: -------------- trunk/pywikipedia/families/wikiversity_family.py
Modified: trunk/pywikipedia/families/wikiversity_family.py =================================================================== --- trunk/pywikipedia/families/wikiversity_family.py 2009-05-13 05:03:32 UTC (rev 6879) +++ trunk/pywikipedia/families/wikiversity_family.py 2009-05-13 09:13:31 UTC (rev 6880) @@ -18,12 +18,13 @@ self.langs = { 'beta': 'beta.wikiversity.org', } + for lang in self.languages_by_size: + self.langs[lang] = '%s.wikiversity.org' % lang + if config.SSL_connection and self.name in config.available_ssl_project: for lang in self.languages_by_size: self.langs[lang] = 'secure.wikimedia.org' - else: - for lang in self.languages_by_size: - self.langs[lang] = '%s.wikiversity.org' % lang + self.langs['beta'] = 'secure.wikimedia.org'
# Most namespaces are inherited from family.Family. # Translation used on all wikis for the different namespaces.
pywikipedia-svn@lists.wikimedia.org