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