mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-11 17:02:28 +00:00
ad99faef19
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 |
||
---|---|---|
.. | ||
AddedTopicPresentationModel.php | ||
CommentThanksPresentationModel.php | ||
DiscussionToolsEventTrait.php | ||
EnhancedEchoEditUserTalkPresentationModel.php | ||
EnhancedEchoMentionPresentationModel.php | ||
EventDispatcher.php | ||
PlaintextEchoPresentationModelSection.php | ||
RemovedTopicPresentationModel.php | ||
SubscribedNewCommentPresentationModel.php |