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=3404473...
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: Pending
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-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=3404473...
pywikipedia-bugs@lists.wikimedia.org