redirect.py fails with -moves option:
C:\pwb\core>pwb.py redirect.py do -always -moves
Retrieving all moved pages via API...
............................
Rosetta-Lander <<<
Links to: [[Philae (Sonde)]]. Links to: [[Philae]].
Traceback (most recent call last):
File "C:\pwb\core\pwb.py", line 181, in <module> run_python_file(fn, argv, argvu) File "C:\pwb\core\pwb.py", line 75, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "C:\pwb\core\scripts\redirect.py", line 821, in <module> main() File "C:\pwb\core\scripts\redirect.py", line 818, in main bot.run() File "C:\pwb\core\scripts\redirect.py", line 721, in run self.fix_double_redirects() File "C:\pwb\core\scripts\redirect.py", line 528, in fix_double_redirects self.fix_1_double_redirect(redir_name) File "C:\pwb\core\scripts\redirect.py", line 665, in fix_1_double_redirect '#%s %s' % (self.site.redirect(True), File "C:\pwb\core\pywikibot\tools.py", line 647, in wrapper return obj(*__args, **__kw)
TypeError: redirect() takes exactly 1 argument (2 given)
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
C:\pwb\core>
corresponding version is:
C:\pwb\core>pwb.py version
Pywikibot: pywikibot-core (f12709d, s5607, 2014/11/16, 00:47:43, ok)
Release version: 2.0b2
httplib2 version: 0.9
cacerts: C:\pwb\core\externals\httplib2\python2\httplib2\cacerts.txt certificate test: ok
Python: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
unicode test: ok
Older code does still the job well:
c:\Pywikipedia\ssh\pywikibot\core>pwb.py version.py
Pywikibot: [ssh] pywikibot-core (dfdc0c9, g4462, 2014/11/03, 07:43:21, OUTDATED)
Release version: 2.0b2
httplib2 version: 0.9
cacerts: C:\Pywikipedia\ssh\pywikibot\core\externals\httplib2\python2\httplib2
\cacerts.txt
certificate test: ok
Python: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
unicode test: ok
c:\Pywikipedia\ssh\pywikibot\core>
Version: core-(2.0)
Severity: major