mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-30 05:46:25 +00:00
ece8ff69ff
Longer, but follows the style guide and less likely to conflict. We need to account for init classes in the cache being around for a while. Change-Id: I738bc93393850db320fdbda2b003ca8ac40556da
11 lines
3.5 KiB
HTML
11 lines
3.5 KiB
HTML
<span data-mw-comment-start="c|Matma Rex|2021-02-24T19:24:00.000Z"></span><span data-mw-comment="{"type":"heading","level":0,"id":"h||2021-02-24T19:24:00.000Z","replies":["c|Matma Rex|2021-02-24T19:24:00.000Z"],"headingLevel":99,"placeholderHeading":true}"><span data-mw-comment-start="h||2021-02-24T19:24:00.000Z"></span><span data-mw-comment-end="h||2021-02-24T19:24:00.000Z"></span></span><style data-mw-deduplicate="TemplateStyles:r3303">.mw-parser-output .color-purple{color:purple}</style><div class="color-purple">This page demonstrates some quirks of raw HTML generated in ParserOutput, which gets saved to the parser cache and which we operate on in the ParserAfterTidy hook. Most other test cases are using the final HTML returned by ParserOutput::getText(), which we operate on in the OutputPageBeforeHTML hook.</div>
|
|
<p>Note:
|
|
</p>
|
|
<ul><li>No "mw-parser-output" wrapper div</li>
|
|
<li>Funky mw:editsection tags</li></ul>
|
|
<p><a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> (<a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex"><font color="green"><i>talk</i></font></a>) 19:24, 24 February 2021 (UTC)<span class="ext-discussiontools-init-replylink-buttons"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" data-mw-comment="{"type":"comment","level":1,"id":"c|Matma Rex|2021-02-24T19:24:00.000Z","replies":[],"timestamp":"2021-02-24T19:24:00.000Z","author":"Matma Rex"}" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2021-02-24T19:24:00.000Z"></span>
|
|
</p>
|
|
<h2><span id="Heading_with_a_.22_quote"></span><span class="mw-headline" id="Heading_with_a_"_quote" data-mw-comment="{"type":"heading","level":0,"id":"h|Heading_with_a_\"_quote|2021-02-24T19:24:00.000Z","replies":["c|Matma Rex|2021-02-24T19:24:00.000Z|Heading_with_a_\"_quote"],"headingLevel":2,"placeholderHeading":false}"><span data-mw-comment-start="h|Heading_with_a_"_quote|2021-02-24T19:24:00.000Z"></span>Heading with a " quote<span data-mw-comment-end="h|Heading_with_a_"_quote|2021-02-24T19:24:00.000Z"></span></span><mw:editsection page="Talk:For parser cache" section="1">Heading with a " quote</mw:editsection></h2>
|
|
<p><span data-mw-comment-start="c|Matma Rex|2021-02-24T19:24:00.000Z|Heading_with_a_"_quote"></span>Test. <a href="/wiki/User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> (<a href="/wiki/User_talk:Matma_Rex" title="User talk:Matma Rex"><font color="green"><i>talk</i></font></a>) 19:24, 24 February 2021 (UTC)<span class="ext-discussiontools-init-replylink-buttons"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" data-mw-comment="{"type":"comment","level":1,"id":"c|Matma Rex|2021-02-24T19:24:00.000Z|Heading_with_a_\"_quote","replies":[],"timestamp":"2021-02-24T19:24:00.000Z","author":"Matma Rex"}" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span></span><span data-mw-comment-end="c|Matma Rex|2021-02-24T19:24:00.000Z|Heading_with_a_"_quote"></span>
|
|
</p>
|