mediawiki-extensions-Discus.../includes/ThreadItem
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
..
CommentItem.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00
CommentItemTrait.php ThreadItem jsonSerialize: make sure callback is applied last 2022-08-30 09:11:46 -05:00
ContentCommentItem.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00
ContentHeadingItem.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
ContentThreadItem.php Allow replying to some comments with accidental complex transclusions 2022-11-14 19:17:36 +01:00
DatabaseCommentItem.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
DatabaseHeadingItem.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
DatabaseThreadItem.php Use PHP 7.4 property types 2022-10-28 21:56:38 +02:00
HeadingItem.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00
HeadingItemTrait.php ThreadItem jsonSerialize: make sure callback is applied last 2022-08-30 09:11:46 -05:00
ThreadItem.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00
ThreadItemTrait.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00