It happens on 1.19, but I guess it also apply on master.
Steps to reproduce:
- A new page (Page_A) is created and isn't patrolled yet
- Move the page to a new title (Page_A -> Page_B) (even without leaving a redirect)
- It appear in Special:NewPages with the new title. Enter the page (with a user with patrol rights) and it should have a mark as patrolled link.
- When clicking on the mark as patrolled link, the page says something like "The selected revision of Page_A has been marked as patrolled.".
The "mark as patrolled" link is something like Page_B?action=markpatrolled&rcid=N&token=ZZZ, so the only reason I think it's getting the old title it's because it's pulling it from the recentchanges table
Version: 1.19.4
Severity: trivial