mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-27 17:51:09 +00:00
08f61b2609
We already supported plain headings without the 'mw-headline' wrappers, but now we need to parse the 'id' from a different attribute. Needed-By: If04d72f427ec3c3730e757cbb3ade8840c09f7d3 Bug: T357723 Change-Id: If85f89c40834618f23dc0ace2e599efb3b6d5ed4
13 lines
1.4 KiB
HTML
13 lines
1.4 KiB
HTML
<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>TODO: This is out of date, we no longer use OutputPageBeforeHTML, so we should really update all of the other tests instead of just this one D:
|
|
</p><p>Note:
|
|
</p>
|
|
<ul><li>No "mw-parser-output" wrapper div</li>
|
|
<li>Funky mw:editsection tags</li>
|
|
<li>'data-mw-anchor' attributes on headings</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)
|
|
</p>
|
|
<h2 data-mw-anchor="Heading_with_a_"_quote" data-mw-fallback-anchor="Heading_with_a_.22_quote">Heading with a " quote<mw:editsection page="Talk:For parser cache" section="1">Heading with a " quote</mw:editsection></h2>
|
|
<p>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)
|
|
</p>
|