mediawiki-extensions-Discus.../includes
Bartosz Dziewoński 6bf128cf2d Use setExtensionData() instead of marker comments where possible (3/3)
We started using marker comments (HTML comments with special content
inserted into the page) for the reply buttons back in the day, because
we needed to indicate their location in the HTML. Later we used the
same idea for things which aren't actually tied to a specific location
in the HTML, such as boolean data like __DTEMPTYTALKPAGE__. There is a
better way to do this.

This commit stop writing the HTML comments, which are no longer used,
and cleans up the tests.

Bug: T328980
Change-Id: I37541356830945cc9abcc79d4c445ff6f2449759
(cherry picked from commit ab40ef62c0)
2023-03-21 00:13:01 +01:00
..
Actions Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
Hooks Add new topic subscription button to page actions 2023-03-20 14:51:10 +00:00
Notifications New topic notifications 2023-03-20 14:41:53 +00:00
ThreadItem ThreadItem: Add display names to getAuthorsBelow 2023-02-23 23:03:35 +00:00
ApiDiscussionToolsCompare.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsEdit.php Add comments about unwrapping Parsoid sections 2023-01-27 17:07:56 +01:00
ApiDiscussionToolsGetSubscriptions.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsPageInfo.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsPreview.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsSubscribe.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ApiDiscussionToolsTrait.php Dedupe ApiDiscussionToolsTrait::parseRevision and HookUtils::parseRevisionParsoidHtml 2022-11-21 21:01:19 +00:00
ButtonMenuSelectWidget.php Show thread metadata in section headers 2022-06-23 17:17:09 +01:00
CommentFormatter.php Use setExtensionData() instead of marker comments where possible (3/3) 2023-03-21 00:13:01 +01:00
CommentModifier.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
CommentParser.php CommentParser: Output display name if different to username 2023-02-23 23:03:32 +00:00
CommentUtils.php EventDispatcher: Generate dt-added-topic events 2023-03-20 14:41:21 +00: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 Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
LanguageData.php LanguageData: Use special page alias with spaces 2023-01-16 22:27:23 +01:00
NodeFilter.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ResourceLoaderData.php Ship HTML test files for JS using 'packageFiles' instead of 'templates' 2022-10-12 22:45:41 +00:00
ServiceWiring.php Test ServiceWiring.php 2023-01-13 12:01:38 +00:00
SpecialFindComment.php SpecialFindComment: Use new FormSpecialPage helpers 2023-01-11 04:30:29 +00:00
SpecialGoToComment.php Remove some redundant PHPDoc comments 2022-11-29 18:47:18 +00:00
SpecialTopicSubscriptions.php Special:TopicSubscriptions: Perform unsubscribe asynchronously 2023-02-04 14:30:14 +00:00
SubscriptionItem.php Add missing typehints 2021-12-01 14:57:09 +00:00
SubscriptionStore.php Use the new method of getting database object 2023-02-23 12:57:16 +01:00
ThreadItemFormatter.php Remove some redundant PHPDoc comments 2022-11-29 18:47:18 +00:00
ThreadItemSet.php Embed pageThread JSON in jsConfigVars instead of infusing HTML 2022-11-08 16:20:39 +00:00
ThreadItemStore.php Use the new method of getting database object 2023-02-23 12:57:16 +01:00
TopicSubscriptionsPager.php New topic notifications 2023-03-20 14:41:53 +00:00
TreeWalker.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00