mediawiki-extensions-Discus.../includes
Bartosz Dziewoński 3a0b05f564 Allow replying to some comments with accidental complex transclusions
When a comment almost exactly matches the range of an
accidental complex transclusion consisting only of
pages from the 'Template' namespace and wikitext fragments,
I think we can safely allow replying to the comment.

Even if this turns out to be incorrect in some cases,
the failure will be more graceful after the changes in T313100:
instead of potentially duplicating contents from a template,
the worst case now is that the reply will appear in the wrong
place (at the end of the transclusion).

Bug: T313093
Change-Id: Ie8da09d74a652d893fd8c3e2435ef6cb70fad64a
2022-11-14 19:17:36 +01:00
..
Actions Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
Hooks Add button to reveal lede section on mobile 2022-11-10 22:10:04 +00:00
Notifications Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
ThreadItem Allow replying to some comments with accidental complex transclusions 2022-11-14 19:17:36 +01:00
ApiDiscussionToolsCompare.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
ApiDiscussionToolsEdit.php Place replies outside transclusions, disallow replying to transcluded comments 2022-11-14 19:17:18 +01:00
ApiDiscussionToolsGetSubscriptions.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
ApiDiscussionToolsPageInfo.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
ApiDiscussionToolsPreview.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
ApiDiscussionToolsSubscribe.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
ApiDiscussionToolsTrait.php Replace VisualEditor ParsoidHelper with ParsoidClient 2022-09-19 18:00:14 +02:00
ButtonMenuSelectWidget.php Show thread metadata in section headers 2022-06-23 17:17:09 +01:00
CommentFormatter.php Move visualenhancements metadata and some buttons outside of <h2> 2022-11-10 23:35:40 +01:00
CommentModifier.php Place replies outside transclusions, disallow replying to transcluded comments 2022-11-14 19:17:18 +01:00
CommentParser.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
CommentUtils.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
ContentThreadItemSet.php Embed pageThread JSON in jsConfigVars instead of infusing HTML 2022-11-08 16:20:39 +00:00
DatabaseThreadItemSet.php Embed pageThread JSON in jsConfigVars instead of infusing HTML 2022-11-08 16:20:39 +00:00
ImmutableRange.php ImmutableRange: Add surroundContents method 2022-10-04 16:51:08 +02:00
LanguageData.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
NodeFilter.php
ResourceLoaderData.php Ship HTML test files for JS using 'packageFiles' instead of 'templates' 2022-10-12 22:45:41 +00:00
ServiceWiring.php Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
SpecialFindComment.php Avoid unsafe wrapping of Message::parse() into paragraph 2022-11-02 00:19:46 +00:00
SpecialGoToComment.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
SpecialTopicSubscriptions.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
SubscriptionItem.php Add missing typehints 2021-12-01 14:57:09 +00:00
SubscriptionStore.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
ThreadItemFormatter.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
ThreadItemSet.php Embed pageThread JSON in jsConfigVars instead of infusing HTML 2022-11-08 16:20:39 +00:00
ThreadItemStore.php ThreadItemStore: Handle race conditions when finding/inserting outside of transaction 2022-11-10 23:33:24 +00:00
TopicSubscriptionsPager.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
TreeWalker.php