Page MenuHomePhabricator

-parent or -basename cannot be used with create_categories
Closed, ResolvedPublicBUG REPORT

Description

-parent and -basename are mandatory for this script and it should not run if one of these options aren't given.

The current implementation cannot be used because these options cannot be given. Without them wrong categories are created.

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Xqt triaged this task as Low priority.Apr 6 2019, 11:41 AM

Change 501892 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Terminate script if mandatory options aren't given

https://gerrit.wikimedia.org/r/501892

Xqt renamed this task from create_categories does not fail if -parent or -basename aren't given to -parent or -basename cannot be used with create_categories.Apr 6 2019, 11:49 PM
Xqt raised the priority of this task from Low to Medium.
Xqt updated the task description. (Show Details)
Xqt changed the subtype of this task from "Task" to "Bug Report".Apr 7 2019, 1:17 PM

Change 501892 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Terminate script if mandatory options aren't given

https://gerrit.wikimedia.org/r/501892