Pywikibot currently installed on Tool Labs has a buggy replace.py that fails to run even in a minimalistic setup:
$ python /shared/pywikipedia/core/scripts/replace.py -page:SomePage -summary:someSummary fromString toString Traceback (most recent call last): File "/shared/pywikipedia/core/scripts/replace.py", line 969, in <module> main() File "/shared/pywikipedia/core/scripts/replace.py", line 958, in main site) File "/shared/pywikipedia/core/pywikibot/tools/__init__.py", line 1102, in wrapper return obj(*__args, **__kw) TypeError: __init__() takes at most 10 arguments (11 given) <type 'exceptions.TypeError'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort