mediawiki-extensions-Discus.../includes/Notifications
Ammarpad 4a25a985ff Notifications: Handle suppressed topic titles in notification
EchoPresentationModelSection::getTruncatedSectionTitle() has a note that
it should not be called if ::exists() returned false. Among the reason
the section may not exist includes suppressing the revision where the
topic title was added or edited.

Add placeholder message text "(topic removed)", to be used in place of
the unavailable topic title. This is analogous to "(user removed)" which
would be shown along if the username is also suppressed.

Bug: T378261
Change-Id: I6db0872b8724323a5e15eb6a262c2c3d0bdd630d
2024-10-26 15:10:35 +01:00
..
AddedTopicPresentationModel.php New topic notifications 2023-03-20 14:41:53 +00:00
CommentThanksPresentationModel.php Use namespaced classes 2024-10-19 23:39:18 +02:00
DiscussionToolsEventTrait.php Use namespaced classes 2024-10-19 23:39:18 +02:00
EnhancedEchoEditUserTalkPresentationModel.php Use namespaced classes 2024-06-09 00:02:35 +02:00
EnhancedEchoMentionPresentationModel.php Use namespaced notification classes from Echo 2024-05-28 15:48:56 +01:00
EventDispatcher.php Use namespaced classes 2024-10-19 23:39:18 +02:00
PlaintextEchoPresentationModelSection.php Use namespaced notification classes from Echo 2024-05-28 15:48:56 +01:00
RemovedTopicPresentationModel.php Use namespaced classes 2024-10-19 23:39:18 +02:00
SubscribedNewCommentPresentationModel.php Notifications: Handle suppressed topic titles in notification 2024-10-26 15:10:35 +01:00