Bugs item #3404473, was opened at 2011-09-05 22:41
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=340447…
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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Avicennasis (avicennasis)
Assigned to: xqt (xqt)
Summary: redirect.py Swedish localization
Initial Comment:
redirect.py shouldn't be changing from the Swedish Localization of Redirect to English
when fixing double redirects.
Currently, It will change "#OMDIRIGERING [[Foo]]" to "#REDIRECT
[[Foo]]" on SvWp, which it should not do. The Swedish redirect, if already in use,
should remain.
python version.py
Pywikipedia [http] trunk/pywikipedia (r9483, 2011/08/29, 19:17:43)
Python 2.6.5 (r265:79063, Jun 12 2010, 17:07:01)
[GCC 4.3.4 20090804 (release) 1]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-09-08 23:04
Message:
I've no idea for that because neighter the wikipedia.py parts nor
redirect.py has been changed since release r9483. Could you check the next
edits of redirect.py manually. Do you have any modifications on these two
files or in wikipedia_family.py? Could you check de funktion version() in
wikipedia_family.py. Just search for "def version(". next code line must
be:
return '1.17wmf1'
----------------------------------------------------------------------
Comment By: Avicennasis (avicennasis)
Date: 2011-09-06 22:29
Message:
That works - it returns the "OMDIRIGERING". Hmm. I'll update to the latest
nightly and try again when AvicBot is unblocked on SvWp here shortly. I
have no idea why that happened to begin with, though.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-09-06 18:30
Message:
Hm, I tried it again with my bot and it works as expected:
http://sv.wikipedia.org/w/index.php?title=Manga%C3%A5r&diff=prev&ol…
Could you put these 3 lines given apove into a file e.g. named
redir_test.py and run it in your DOS-box. What is the result?
----------------------------------------------------------------------
Comment By: Avicennasis (avicennasis)
Date: 2011-09-06 13:19
Message:
http://sv.wikipedia.org/w/index.php?title=V%C3%A4rldsm%C3%A4sterskap_i_bask…
and
http://sv.wikipedia.org/w/index.php?title=VM_i_basket&diff=prev&old…
are examples. And I'm currently running this through Cygwin on a Windows
box - I'm not sure how to access (if possible) IDLE from that side.
The Windows side does return it properly, though.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-09-06 10:15
Message:
Do you have a sample for me? I found the bot works fine:
http://sv.wikipedia.org/w/index.php?title=Stora_saltsj%C3%B6n&diff=prev…
try the following IDLE commants:
import wikipedia as wp
site = wp.getSite('sv')
site.redirect()
this should print: u'OMDIRIGERING'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=340447…