DiscussionTools marker comments still appear in the output sometimes in weird places:
- In Parsoid HTML after transclusions: https://en.wikipedia.beta.wmflabs.org/api/rest_v1/page/html/Talk%3AT313097
<p about="#mwt2" typeof="mw:Transclusion" data-mw="{"parts":[{"template":{"target":{"wt":"Tracked","href":"./Template:Tracked"},"params":{"1":{"wt":"T238025"}},"i":0}}]}" id="mwCg"><style data-mw-deduplicate="TemplateStyles:r555781" typeof="mw:Extension/templatestyles" about="#mwt4" data-mw="{"name":"templatestyles","attrs":{"src":"Tracked/styles.css"}}">.mw-parser-output .tracked{float:right;clear:right;margin:0 0 1em 1em;width:12em;border:1px solid #72777d;border-radius:2px;background-color:#eaecf0;font-size:85%;text-align:center;padding:0.5em}.mw-parser-output .tracked-url{font-weight:bold}.mw-parser-output .tracked-closure{color:black;font-weight:bold;text-transform:uppercase}.mw-parser-output .tracked-resolved{color:green}</style><span about="#mwt4"><!--__DTHASLEDECONTENT__--><!--__DTEMPTYTALKPAGE__--></span></p>
- In action API error messages: https://en.wikipedia.beta.wmflabs.org/wiki/Special:ApiSandbox#action=discussiontoolsedit&format=json&errorformat=html&paction=addcomment&page=Talk%3AT313097%2B%5C&formatversion=2
{ "errors": [ { "code": "missingparam", "html": "<p>One of the parameters <var>wikitext</var> and <var>html</var> is required.\n</p><!--__DTHASLEDECONTENT__--><!--__DTEMPTYTALKPAGE__-->", "module": "discussiontoolsedit" } ], "docref": "See https://en.wikipedia.beta.wmflabs.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes.", "servedby": "deployment-mediawiki11" }
This is just more stuff like T291833. Maybe we should try to not output these.