Page MenuHomePhabricator

Removals/reverts cause series of identical "linked from" notifications
Closed, ResolvedPublic


Repeated reverts of vandalism like on this page:

cause a link notification to be sent every time the old text is re-instated. We should either ignore repeated addition of the same link from the same page, or detect the revert as such.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:21 AM
bzimport added a project: Notifications.
bzimport set Reference to bz45337.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 11837
Example of identical notifications for the same link being added


The best way I can think of to solve this would be, at the point at which a link is created, look at all the article-link notifications within the recent past (perhaps 7 days) and if there is already a notification corresponding to the same pages, don't create a new notification.

bsitu wrote:

To address the problem, I implemented an interim quick fix in here: I think Kaldari's idea is much more flexible, I added a todo note in the code comment.