Page MenuHomePhabricator

pagetriageaction API should not mark as reviewed for namespaces that PageTriage doesn't patrol
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • create a draft using a non autopatrolled account
  • now log into an account with patrol userright
  • Special:ApiSandbox
  • pagetriageaction API, provide the pageid of the draft, reviewed=1, autofill the token, submit

What happens?:

  • article is marked patrolled (Patrol log)
  • article is marked reviewed (Page Curation log)

What should have happened instead?:

  • article is marked patrolled (Patrol log)
  • article is NOT marked reviewed (Page Curation log)

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

image.png (574×2 px, 135 KB)

image.png (401×1 px, 68 KB)

Event Timeline

I have a hunch that this might be related to Twinkle marking pages as patrolled when performing other actions such as tagging, and PageTriage interpreting that patrol as a review in draftspace for whatever reason. Ctrl+F-ing for "Draft:" in my page curation log shows an entry at Draft:BVP Software with a timestamp matching when I tagged it for G11 deletion, at Draft:Mahesh Bansal matching when I tagged it with {{COI}}, and at Draft:Akg (which I can't verify since it's been deleted, but an administrator could).

Also, I was mistaken earlier about using the "[Mark this page as patrolled]" button on Draft:Sophie O'Brien; that action was also carried out through Twinkle.

Novem_Linguae renamed this task from onMarkPatrolledComplete() should not mark as reviewed for namespaces that PageTriage doesn't patrol to pagetriageaction API should not mark as reviewed for namespaces that PageTriage doesn't patrol.Feb 6 2024, 6:44 AM
Novem_Linguae updated the task description. (Show Details)