Page MenuHomePhabricator

patrol.py: Patrolling without -ask option won't patrol changes
Open, Needs TriagePublic

Description

Steps to reproduce:
NOTE: You will need account with patrol right on any wiki.

Just run python pwb.py patrol -usercontribs:(some user).

Expected behaviour:
Changes should be patrolled without asking, as in command isn't -ask option specified.

Actual behaviour:
In output is just number of changes. See:

kizule@kizule-laptop:~/Desktop/development/pywikibot-core$ python pwb.py patrol -usercontribs:Bokez
Processing user: Bokez
Newpages:
Loading Корисник:Zoranzoki21/patrol_whitelist
Recentchanges:
0/2 patrolled
kizule@kizule-laptop:~/Desktop/development/pywikibot-core$

Event Timeline

Changes should be patrolled without asking, as in command isn't -ask option specified.

Is that user whitelisted? Don't see any wrong behaviour. -ask means that every page must be confirmed whereas without -ask a page is patrolled if the username is whitelisted or -autopatroluserns is set