Page MenuHomePhabricator

Notifications should treat topic titles as plain text
Closed, DuplicatePublic

Description

The issue is in the discrepancy of displaying FlowMention template in a topic's title - not parsed;
On Notification flyout and Notification page - FlowMention is displayed correctly.

  1. Create a title with {{FlowMention|Test}}

Screen Shot 2016-01-07 at 4.03.37 PM.png (366×818 px, 46 KB)

  1. A user who receives a notification about a new/edited topic will see {{FlowMention|Test}} correctly in the flyout and on the Notification page.

Screen Shot 2016-01-07 at 4.04.03 PM.png (455×1 px, 124 KB)

Screen Shot 2016-01-07 at 4.04.26 PM.png (418×735 px, 52 KB)

Event Timeline

Etonkovidova raised the priority of this task from to Needs Triage.
Etonkovidova updated the task description. (Show Details)
Etonkovidova subscribed.
Mattflaschen-WMF renamed this task from Discrepancy in displaying FlowMention template in topic titles vs Notifcations to Notifications should treat topic titles as plain text.Jan 11 2016, 10:10 PM
Mattflaschen-WMF triaged this task as High priority.
Mattflaschen-WMF set Security to None.

The bug is that it is parsed in the notification. The topic title field does not support templates, so for now we can treat it as plaintext, similar to T121994: Signpost notification displaying unwanted pre tags.

Also, mentions do not work in topic title, so there is no point in doing this (but it's still a bug).