Revision: 8093 Author: filnik Date: 2010-04-15 14:38:41 +0000 (Thu, 15 Apr 2010)
Log Message: ----------- changing wikinews
Modified Paths: -------------- trunk/pywikipedia/welcome.py
Modified: trunk/pywikipedia/welcome.py =================================================================== --- trunk/pywikipedia/welcome.py 2010-04-15 11:20:07 UTC (rev 8092) +++ trunk/pywikipedia/welcome.py 2010-04-15 14:38:41 UTC (rev 8093) @@ -283,7 +283,7 @@ 'zh-yue': u'{{歡迎}}--%s', }, 'wikinews':{ - 'it': u'{{subst:benvenuto|%s}}', + 'it': u'{{subst:benvenuto}}', 'zh': u'{{subst:welcome}} %s', }, 'wiktionary':{ @@ -848,7 +848,8 @@ continue welcome_text = wikipedia.translate(self.site, netext) if globalvar.randomSign: - welcome_text = welcome_text % choice(self.defineSign()) + if self.site.family != 'wikinews': + welcome_text = welcome_text % choice(self.defineSign()) if self.site.family == 'wiktionary' and self.site.lang == 'it': pass else:
pywikipedia-svn@lists.wikimedia.org