https://bugzilla.wikimedia.org/show_bug.cgi?id=59949
Web browser: --- Bug ID: 59949 Summary: category.py throws NotImplementedError: History printing is not yet enabled. Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: major Priority: Unprioritized Component: category.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: maarten@mdammers.nl CC: pyfisch@googlemail.com Classification: Unclassified Mobile Platform: ---
When I try to do a category move "pwb.py category.py -lang:nl move -from:Bremen -to:Vrije_Hanzestad_Bremen"
The bot crashes:
Traceback (most recent call last): File "C:\pywikibot\core\pwb.py", line 135, in <module> run_python_file(fn, argv, argvu) File "C:\pywikibot\core\pwb.py", line 67, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "C:\pywikibot\core\scripts\category.py", line 1019, in <module> main() File "C:\pywikibot\core\scripts\category.py", line 989, in main bot.run() File "C:\pywikibot\core\scripts\category.py", line 411, in run raise NotImplementedError("History printing is not yet enabled.") NotImplementedError: History printing is not yet enabled.
Looks like the error got introduced in http://git.wikimedia.org/blobdiff/pywikibot%2Fcore.git/d08e3c1ab38f7b925f92e... and it got approved in https://gerrit.wikimedia.org/r/#/c/104813/
A new option that hasn't been implemented yet shouldn't be enabled by default.