mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-25 00:38:33 +00:00
5b26e9664b
This code expected $container->firstChild to be a
<div class="mw-parser-output">, but that element is not present
when we're running on HTML to be saved in parser cache.
We ended up inserting the marker inside whatever node was the
first on the page, and if it was a <style> element, both our
marker and the styles would be lost when serializing, like in
|
||
---|---|---|
.. | ||
Hooks | ||
ApiDiscussionTools.php | ||
ApiDiscussionToolsEdit.php | ||
CommentFormatter.php | ||
CommentItem.php | ||
CommentModifier.php | ||
CommentParser.php | ||
CommentUtils.php | ||
Data.php | ||
HeadingItem.php | ||
ImmutableRange.php | ||
NodeFilter.php | ||
ThreadItem.php | ||
TreeWalker.php |