Page MenuHomePhabricator

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

Description

Repeated reverts of vandalism like on this page:

https://www.mediawiki.org/w/index.php?title=MediaWiki/tr&action=history

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

Details

Reference
bz45337

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

Attached:

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: https://gerrit.wikimedia.org/r/#/c/54589/. I think Kaldari's idea is much more flexible, I added a todo note in the code comment.