Page MenuHomePhabricator

harvest_template.py: Do not show a Warning if no generator is specified because the generator is defined later
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce:
pwb.py harvest_template -template:foo bar P123 -simulate -site:wikipedia:test -grep:"\| *bar"

What happens?:
WARNING: filter(s) specified but no generators.

What should have happened instead?:
The warning should be omitted

Software version:
Pywikibot 3.0.20170403+

Event Timeline

Xqt triaged this task as Low priority.Jun 11 2022, 3:50 PM

Change 804699 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [fix] Do not show a warning if generator is specified later

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

Change 804699 merged by jenkins-bot:

[pywikibot/core@master] [fix] Do not show a warning if generator is specified later

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

Xqt claimed this task.