mediawiki-extensions-Discus.../includes
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
..
Actions Use namespaced classes 2024-06-09 00:02:35 +02:00
Hooks Show empty state message if subject doesn't exist but talk page exists 2024-10-29 09:54:26 +00:00
Notifications Handle hidden revision in more places 2024-11-02 22:15:34 +01:00
ThreadItem Trim whitespace from truncated heading titles in IDs 2024-05-01 14:20:12 +01:00
ApiDiscussionToolsCompare.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsEdit.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsFindComment.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsGetSubscriptions.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsPageInfo.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsPreview.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsSubscribe.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ApiDiscussionToolsThank.php Use type-declaration on api module constructor 2024-10-25 19:14:20 +02:00
ApiDiscussionToolsTrait.php build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 2024-11-02 06:55:33 +00:00
ButtonMenuSelectWidget.php
CommentFormatter.php Use namespaced classes 2024-10-19 23:39:18 +02:00
CommentModifier.php Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:59:53 +02:00
CommentParser.php Use namespaced classes 2024-10-19 23:39:18 +02:00
CommentUtils.php Fix parsing usernames with + 2024-06-19 17:14:10 +02:00
ContentThreadItemSet.php
DatabaseThreadItemSet.php
ImmutableRange.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
LanguageData.php Use namespaced classes 2024-10-19 23:39:18 +02:00
NodeFilter.php
OverflowMenuItem.php
PageNeverHadThreadsException.php Find comment: limit DB query for page comments, use a custom exception 2024-09-18 11:43:59 -05:00
ResourceLoaderData.php Use namespaced classes 2024-10-19 23:39:18 +02:00
ServiceWiring.php Inject service ContentLanguage into ThreadItemStore 2024-07-03 10:16:27 +00:00
SpecialDiscussionToolsDebug.php Use namespaced classes 2024-10-19 23:39:18 +02:00
SpecialFindComment.php Use namespaced classes 2024-06-09 00:02:35 +02:00
SpecialGoToComment.php Special:TopicSubscriptions: Use permalinks when available 2024-04-04 13:44:06 +00:00
SpecialTopicSubscriptions.php Special:TopicSubscriptions: Use permalinks when available 2024-04-04 13:44:06 +00:00
SubscriptionItem.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
SubscriptionStore.php Remove now redundant PHPDoc blocks 2024-03-10 23:53:04 +00:00
ThreadItemFormatter.php Special:TopicSubscriptions: Use permalinks when available 2024-04-04 13:44:06 +00:00
ThreadItemSet.php
ThreadItemStore.php Use namespaced classes 2024-10-19 23:39:18 +02:00
TopicSubscriptionsPager.php Use expression builder instead of raw sql 2024-07-21 23:25:41 +02:00
TreeWalker.php Move some doc comments to real type hints 2024-03-11 14:13:17 +01:00