Page MenuHomePhabricator

Revert notification send to user who just protected a page
Closed, DuplicatePublic

Description

@JD reported that he got a revert notification for a page he just protected:
An anonymous user edited a page, he protected the page, the edit by the IP was reverted (https://de.wikipedia.org/w/index.php?date-range-to=2019-10-15&tagfilter=&title=Werner_Gumpel&action=history).
In this case no notification should be sent (if the reverted edit had been by a logged in user, that user should get a notification), especially the user who protected the page should not get a revert notification.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

When using the "undo" function in the history the notification is send to the revision id provided with that request.
But than the history should also show "Tag: Undo", that is not visible here.

I have tested it locally and never get a event for this situation for the null edit.

I have no idea at the moment on which event the notification was generated the user mention here.