mediawiki-extensions-Discus.../includes/Notifications
Ammarpad ad99faef19 Handle hidden revision in more places
Instead of checking section->exists() everywhere we have to call
getTruncatedSectionTitle(), override the method inside
PlaintextEchoPresentationModelSection class to make it always
return string for our case.

Call to getTruncatedSectionTitle() in the following classes now use
the method override:

* RemovedTopicPresentationModel
* SubscribedNewCommentPresentationModel
* AddedTopicPresentationModel

The call to getTruncatedSectionTitle() in CommentThanksPresentationModel
does not need nor use the override.

Bug: T378261
Change-Id: Ibe985da5c1a79c5a1853d9c4896f8769cce6ddfd
2024-11-02 22:15:34 +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 Handle hidden revision in more places 2024-11-02 22:15:34 +01:00
RemovedTopicPresentationModel.php Use namespaced classes 2024-10-19 23:39:18 +02:00
SubscribedNewCommentPresentationModel.php Handle hidden revision in more places 2024-11-02 22:15:34 +01:00