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
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
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