Support Requests item #2923020, was opened at 2009-12-29 21:17
Message generated for change (Comment added) made by keyril
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=292302…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Install Problem
Group: None
Status: Pending
Priority: 5
Private: No
Submitted By: Keyril (keyril)
Assigned to: Nobody/Anonymous (nobody)
Summary: Login problem
Initial Comment:
Sorry, but nothing i try works.
I just downloaded r7844, tried again the login.py, but failed with new error messages.
It should be easy:
* local installed MediaWiki 1.13.1
* Windows XP
* path: d:\xampp\htdocs\elysium
* Wikiname: Elysium
* user-config.py:
family = 'elysium'
mylang = 'en'
usernames['elysium']['en'] = 'WikiBot'
*
# -*- coding: utf-8 -*- # REQUIRED
import config, family, urllib # REQUIRED
class Family(family.Family): # REQUIRED
def __init__(self): # REQUIRED
family.Family.__init__(self) # REQUIRED
self.name = 'elysium' # REQUIRED; replace with actual name
self.langs = { # REQUIRED
'en': '127.0.0.1/elysium', # Include one line for each wiki
in family
}
# IMPORTANT: if your wiki does not support the api.php interface,
# you must uncomment the second line of this method:
def apipath(self, code):
raise NotImplementedError, "%s wiki family does not support api.php" %
self.name
return '%s/api.php' % self.scriptpath(code)
# Which version of MediaWiki is used? REQUIRED
def version(self, code):
# Replace with the actual version being run on your wiki
return '1.13.1'
def code2encoding(self, code):
"""Return the encoding for a specific language
wiki"""
# Most wikis nowadays use UTF-8, but change this if yours uses
# a different encoding
return 'utf-8'
#def path(self, code):
# return '/elysium'
----------------------------------------------------------------------
Comment By: Keyril (keyril)
Date: 2009-12-31 08:35
Message:
correct url would be:
http://127.0.0.1/elysium/index.php/Main_Page
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-12-30 18:27
Message:
What is the right URL to get the Mainpage of your wiki?
----------------------------------------------------------------------
Comment By: Keyril (keyril)
Date: 2009-12-29 21:24
Message:
Sorry, hit the button too quick:
If i try above version of elysium_family.py i get error message for url
127.0.0.1/elysium/w/index.php...
How do i get rid of the "w"?
If i try and uncomment the lowest part with "def path" the path will be
127.0.0.1/elysium/elysium/index.php...
If i set self.langs to 127.0.0.1 without "elysium", the path should be
correct, but the error message is "wrong password or CAPTCHA answer"
I really don't know how to get it working.
Thanks in advance.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=292302…