Page MenuHomePhabricator

Links added on translateable pages result in multiple notifications, for every language
Open, Needs TriagePublic

Description

Links added on translateable pages result in multiple notifications, for every language that the page is translated to.

In this edit: https://www.mediawiki.org/w/index.php?title=Skin:Modern&diff=2313546&oldid=1820296 Krinkle added a link to https://www.mediawiki.org/wiki/Separating_skins_from_core_MediaWiki, which I authored some years ago, generating a notification for me that the page was linked. This is great.

However, I subsequently received 15 more notifications when this edit was propagated to all the translated versions by FuzzyBot (e.g. https://www.mediawiki.org/w/index.php?title=Skin:Modern/ru&diff=2313581&oldid=prev). This is really quite silly.

pasted_file (943×1 px, 213 KB)

Event Timeline

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

The notifications should ignore translation pages, it seems. Unless there is a hook for this, it has to be fixed outside Translate.

Hmm. I guess Translate should add FuzzyBot to $wgEchoAgentBlacklist?

I don't know what all it controls. In general people wan't to know if their translation is updated by FuzzyBot (this happens frequently in translatewiki.net when importing external changes).

Best would be to collapse notifications for translatable page and all its translation pages [1]. Ignoring translation pages completely is not necessarily the best thing, given they might have links to translated versions of a page.

[1] https://www.mediawiki.org/wiki/Help:Extension:Translate/Glossary

Perhaps Echo should ignore (or provide a digest for) multiple notifications in a short timespan which are about the same page. There are many possible cases when a link is propagated to multiple pages, e.g. when a page gets "featured" somewhere.