Steps to replicate the issue (include links if applicable):
- Make a edit with a temporary account
- Log into an account that can view temporary account IPs and has the preference enabled
- Load the history page and find the edit - observe that the "Show IP" link is shown
- Click "prev" to load the diff for said edit
What happens?:
Observe that the "Show IP" button is not shown.
What should have happened instead?:
The "Show IP" button should be shown.
Software version (skip for WMF-hosted wikis like Wikipedia):
Latest CheckUser and core
Other information (browser name/version, screenshots, etc.):
Diff type | URL used to show diff | Username of temporary account |
---|---|---|
Diff as the revision ID | ||
Link generated by the "prev" link | ||
Difference between two specified revisions | ||
This is likely caused by the PageDisplay hook handler checking checking only whether the diff query parameter is an integer. Because the diff parameter is prev in the second set of screenshots, it means it's not seen as a valid diff page.