I found this issue on a MediaWiki 1.32.5 wiki. When a file revision is deleted before it was patrolled, it shows up in the patrol queue, and is difficult to mark as patrolled.
How to reproduce
- Upload a file and a file revision with a non-autopatrol account
- Delete the first file revision
- Go to the patrol queue (Special:RecentChanges with the "Unpatrolled" filter selected)
Expected result
The deleted file revision is not in the patrol queue. No action needed.
Actual result
The deleted file revision is in the patrol queue. It is difficult to patrol it, because the [Mark as patrolled] button is not available.
Temporary workaround
- Obtain the rcid of the change with something like https://examplewiki.org/w/api.php?action=query&list=recentchanges&rcprop=timestamp|title|ids&rcshow=!patrolled&rclimit=100
- Then mark it as patrolled with https://examplewiki.org/w/index.php?action=markpatrolled&rcid=12345 (replacing 12345 with the actual rcid).