Steps to Reproduce:
- Edit a wiki page
- Apply protection to that page
- Revert the edit made in 1
The "reverted" tag is applied to both edit 1 and the protection entry in the page history.
When a page is protected, the page history shows a log of the protection along with an empty diff. If protection occurs between an edit and a revert, the page protection gets marked as "Reverted" despite the page still being protected. This is misleading and undesirable behavior.
The history entry noting page protection should not be marked as reverted, only the prior edit.