Page MenuHomePhabricator

User links in labels, descriptions, aliases, string values etc. result in echo notifications
Open, Needs TriagePublic

Description

This is essentially another artifact of the same underlying issue as in T186035: because we merge Wikibase’s autocomment and the content of the edit (e. g. the new label, description or alias) into the comment text, if I mention a user name in an alias, MediaWiki renders it like a link –

Screenshot_2019-02-12 Difference between revisions of Wikidata Sandbox (Q4115189) - Wikidata.png (200×834 px, 22 KB)

– and Echo sends a notification as if I’d been pinged on a discussion page:

Screenshot_2019-02-12 Search - Wikidata.png (203×488 px, 17 KB)

The same thing also happens if the user name is mentioned in a string value. I imagine other value types are also affected.

Event Timeline

Lucas_Werkmeister_WMDE renamed this task from User links in labels, descriptions or aliases result in echo notifications to User links in labels, descriptions, aliases, string values etc. result in echo notifications.Feb 13 2019, 2:37 PM
Lucas_Werkmeister_WMDE updated the task description. (Show Details)