Page MenuHomePhabricator

touch or purge of a page is not reflected by the bot run summary
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):
run pwb touch -page:<page> [-purge]

What happens?:

C:\pwb\GIT\core>pwb touch -page:Manual:Pywikibot -site:mediawiki:mediawiki
Retrieving 1 pages from mediawiki:mediawiki.
Page [[Manual:Pywikibot]] saved

1 pages read
0 pages written
0 pages skipped
Execution time: 5 seconds
Read operation time: 5.0 seconds
Script terminated successfully.

C:\pwb\GIT\core>pwb touch -page:Manual:Pywikibot -site:mediawiki:mediawiki -purge
Retrieving 1 pages from mediawiki:mediawiki.
Sleeping for 4.1 seconds, 2022-05-07 14:48:21
Page [[mediawiki:Manual:Pywikibot]] purged

1 pages read
0 pages written
0 pages skipped
Execution time: 4 seconds
Read operation time: 4.0 seconds
Script terminated successfully.

What should have happened instead?:
Either the "write" counter should be updated or a touch/purge counter should be used

Details

Event Timeline

Xqt triaged this task as Low priority.May 7 2022, 12:55 PM

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

[pywikibot/core@master] [IMPR] Increase counter when a page is touched or purged

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

Xqt renamed this task from touch or purge of a page is not reflected ba the bot run summary to touch or purge of a page is not reflected by the bot run summary.May 7 2022, 2:14 PM
Xqt claimed this task.

Change 789897 merged by Xqt:

[pywikibot/core@master] [IMPR] Print counter statistic for all counters

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