Page MenuHomePhabricator

Revert bot ignores some pages unexpectedly
Closed, ResolvedPublic

Description

If an edit is on a page which its content does not match the regex r\[\[.+?:.+?\..+?\]\], it won't get reverted.

I think this behavior does not make sense or at least should be documented.

Event Timeline

Dalba updated the task description. (Show Details)

Change 433701 had a related patch set uploaded (by Dalba; owner: Dalba):
[pywikibot/core@master] scripts/revertbot.py: Remove RevertBot class

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

Well it is just an example, as the doc comment says. Probably it should just be moved to the initial doc comment instead of removing. It might be confusing for experienced users, but also helpful for novice users..

Well it is just an example, as the doc comment says. Probably it should just be moved to the initial doc comment instead of removing. It might be confusing for experienced users, but also helpful for novice users..

Yes it was intended to be a sample. It is unusable like the basic.py. Anyway revertbot isn't really a working bot script and wasn't it never. Probably the BaseRevertBot class should be moved to specialbot.py.

Xqt triaged this task as Lowest priority.May 18 2018, 10:20 AM
Xqt claimed this task.

Change 433701 merged by jenkins-bot:
[pywikibot/core@master] scripts/revertbot.py: Remove RevertBot class

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

Well it is just an example, as the doc comment says. Probably it should just be moved to the initial doc comment instead of removing. It might be confusing for experienced users, but also helpful for novice users..

Yes it was intended to be a sample. It is unusable like the basic.py. Anyway revertbot isn't really a working bot script and wasn't it never. Probably the BaseRevertBot class should be moved to specialbot.py.

T194976: Move BaseRevertBot to specialbots.py

Vvjjkkii renamed this task from Revert bot ignores some pages unexpectedly to 6scaaaaaaa.Jul 1 2018, 1:09 AM
Vvjjkkii reopened this task as Open.
Vvjjkkii removed Dalba as the assignee of this task.
Vvjjkkii raised the priority of this task from Lowest to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed subscribers: gerritbot, Aklapper.
CommunityTechBot renamed this task from 6scaaaaaaa to Revert bot ignores some pages unexpectedly.Jul 2 2018, 7:59 AM
CommunityTechBot closed this task as Resolved.
CommunityTechBot assigned this task to Dalba.
CommunityTechBot lowered the priority of this task from High to Lowest.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added subscribers: gerritbot, Aklapper.