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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=59949
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 106899 had a related patch set uploaded by Merlijn van Deen: (bug 59949) CategoryMoveRobot: do not move history by default
https://gerrit.wikimedia.org/r/106899
https://bugzilla.wikimedia.org/show_bug.cgi?id=59949
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=59949
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 106899 merged by jenkins-bot: (bug 59949) CategoryMoveRobot: do not move history by default
https://gerrit.wikimedia.org/r/106899
https://bugzilla.wikimedia.org/show_bug.cgi?id=59949
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED CC| |info@gno.de Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org