2009/9/25 Robert Wright <[email protected]>:
> Media wiki is installed and running fine. I have a user named 'Wikibot'
> configured and in the BOT group. I noticed that the user-config.py has
> several references to Wikiuser. Should these be Wikibot?

Yes. But that's not causing your socket error.

> user-config.py also
> has references to the DB name, user and password. These are not filled in
> correctly. Is it required that they be setup to match the MySQL DB for
> MediaWiki?

It's not required, unless you need to perform direct DB operations.
Anyway, it is not causing the socket error.


I looked at your family file, the error is here:
        self.langs = {                # REQUIRED
            'en': 'mustang/wiki/',  # Include one line for each wiki in family
        }
First, we don't need to append the /wiki/ relative path, but only the
path to the root of the wiki. But again, that's probably not causing
the error.

What happens with
        self.langs = {
            'en': 'mustang',
        }
?
(localhost should behave the same since mustang appears to be your host name...)

Can you paste here the output of
$ python login.py -v -v
?

Double-check that the urls that pywikipedia will try to access are
accessible through tools such as curl/wget.

-- 
Nicolas Dumazet — NicDumZ

_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to