Page MenuHomePhabricator

Patrol.py no show to user account is not avaiable. Instead of it, script show to he no have changes to patrol
Closed, ResolvedPublic

Description

Steps to reproduce
Run (on example) python pwb.py patrol -usercontribs:Zoranzok21 -ask

Actual results
Script show to he no have changes to patrol. See: https://imgur.com/a/vwVF4

Expected results
Script should show to user account is not avaiable on wiki.


This is not bug report. This is more like as feature request

Event Timeline

I guess this task is invalid because that user exists:

>>> import pwb, pywikibot as py
>>> s = py.Site('sr')
>>> u = py.User(s, 'Ookuninusi')
>>> u.isRegistered()
True
Kizule reopened this task as Open.EditedApr 11 2018, 2:45 PM

I guess this task is invalid because that user exists:

>>> import pwb, pywikibot as py
>>> s = py.Site('sr')
>>> u = py.User(s, 'Ookuninusi')
>>> u.isRegistered()
True

I know it, but see screenshot. Ookuninsi no exist, Ookuninusi yes.

This is feature request task, to when user account no exist on wiki, to pywiki instead of showing to there are not changes for it user to patrol, show to user account is not avaiable.

Xqt triaged this task as Low priority.Apr 11 2018, 3:23 PM

I know it, but see screenshot. Ookuninsi no exist, Ookuninusi yes.

This is feature request task, to when user account no exist on wiki, to pywiki instead of showing to there are not changes for it user to patrol, show to user account is not avaiable.

Ah, I see.

Change 425548 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [FEAT] Show a warning if user does not exists on a given site

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

Change 426029 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Rewrite patrol.py

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

Change 425548 merged by jenkins-bot:
[pywikibot/core@master] [FEAT] Show a warning if user does not exists on a given site

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

Change 426751 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [FEAT] Show a warning if user does not exists on a given site

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

Change 426751 merged by jenkins-bot:
[pywikibot/core@master] [FEAT] Show a warning if user does not exists on a given site

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