Revision: 4460 Author: wikipedian Date: 2007-10-17 13:33:31 +0000 (Wed, 17 Oct 2007)
Log Message: ----------- applied patch [ 1809474 ] Found a bug on welcome.py by Filnik
Modified Paths: -------------- trunk/pywikipedia/welcome.py
Modified: trunk/pywikipedia/welcome.py =================================================================== --- trunk/pywikipedia/welcome.py 2007-10-17 12:30:51 UTC (rev 4459) +++ trunk/pywikipedia/welcome.py 2007-10-17 13:33:31 UTC (rev 4460) @@ -400,7 +400,8 @@ if another_page.exists(): text_get = another_page.get() else: - text_get = u'This is a report page for the Bad-username, please translate me. --[[User:%s|%s]]' % (config.usernames[project], config.usernames[project]) + nameBot = config.usernames[wsite.family.name][wsite.lang] + text_get = u'This is a report page for the Bad-username, please translate me. --[[User:%s|%s]]' % (nameBot, nameBot) pos = 0 # The talk page includes "_" between the two names, in this way i replace them to " ". username = wikipedia.url2link(username, wsite, wsite)