mediawiki-extensions-Discus.../includes
Bartosz Dziewoński ab40ef62c0 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: Ic0d336dfbeb932134ec94bc0e86bc2a26921d440
2023-02-11 20:35:06 +01:00
..
Actions Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
Hooks Use setExtensionData() instead of marker comments where possible (2/3) 2023-02-11 19:33:20 +00:00
Notifications Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
ThreadItem Update exception handling for new code conventions 2023-01-22 18:17:11 +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-02-11 20:35:06 +01:00
CommentModifier.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
CommentParser.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
CommentUtils.php Don't add custom attributes in unwrapParsoidSections() 2023-01-31 01:32:02 +01: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 Remove some redundant PHPDoc comments 2022-11-29 18:47:18 +00: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 Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00
TopicSubscriptionsPager.php Special:TopicSubscriptions: Perform unsubscribe asynchronously 2023-02-04 14:30:14 +00:00
TreeWalker.php Update exception handling for new code conventions 2023-01-22 18:17:11 +00:00