Hello
I recently set up debian (squeeze) and installed mediawiki package (1:1.15.5-1) on a brand new server. The previous mediawiki server ran just fine but after redirecting the dns entry for my wiki site to the new server I tried to login only to have it fail on me.
# python login.py -v -pass:thewikiuserpassword
Pywikipediabot nightly:pywikipedia (r7206, 2009/09/03, 16:56:11) Python 2.6.3 (r263:75183, Oct 4 2009, 14:29:19) [C] Logging in to wikios:wikios as wikios Note: this language does not allow global bots. Login failed. Wrong password or CAPTCHA answer?
Is there a setting on my new wiki site that I need to enable to allow for global bots or is there perhaps something else that is going on ?
TIA -Kjartan
May be a coding problem. Any non-English characters in your user name or password?
No, I'm using english characters only for both the user and password.
this is in my user-config.py
usernames['wikios']['en'] = u'python' usernames['wikios']['wikios'] = u'wikios'
And my family file:
# -*- coding: utf-8 -*-
import urllib import family, wikipedia
# The wikimedia family that is known as Wesolve
class UploadDisabled(wikipedia.Error): """Uploads are disabled on this wiki"""
class Family(family.Family): def __init__(self): family.Family.__init__(self) self.name = 'wikios' self.langs = { 'wikios': None, }
self.namespaces[4] = { '_default': u'Wordsandmore', } self.namespaces[5] = { '_default': u'Wordsandmore talk', }
def version(self, code): return "1.5.7"
def scriptpath(self, code): return ''
def hostname(self, code): return 'thewikidomain'
def apipath(self, code): raise NotImplementedError( "The wesolve family does not support api.php")
2010/12/7 Bináris wikiposta@gmail.com
May be a coding problem. Any non-English characters in your user name or password?
-- Bináris
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Please run
version.py
and give me the result.
Greetings
xqt
----- Original Nachricht ---- Von: Kjartan Hauksson kjartanrh@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 07.12.2010 13:49 Betreff: Re: [Pywikipedia-l] Failure to login to a new mediawiki setup
No, I'm using english characters only for both the user and password.
this is in my user-config.py
usernames['wikios']['en'] = u'python' usernames['wikios']['wikios'] = u'wikios'
And my family file:
# -*- coding: utf-8 -*-
import urllib import family, wikipedia
# The wikimedia family that is known as Wesolve
class UploadDisabled(wikipedia.Error): """Uploads are disabled on this wiki"""
class Family(family.Family): def __init__(self): family.Family.__init__(self) self.name = 'wikios' self.langs = { 'wikios': None, }
self.namespaces[4] = { '_default': u'Wordsandmore', } self.namespaces[5] = { '_default': u'Wordsandmore talk', } def version(self, code): return "1.5.7" def scriptpath(self, code): return '' def hostname(self, code): return 'thewikidomain' def apipath(self, code): raise NotImplementedError( "The wesolve family does not support api.php")
2010/12/7 Bináris wikiposta@gmail.com
May be a coding problem. Any non-English characters in your user name or password?
-- Bináris
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org