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.

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:

Note:

Matma Rex (talk) 19:24, 24 February 2021 (UTC)(discussiontools-replybutton)

Heading with a " quoteHeading with a " quote

Test. Matma Rex (talk) 19:24, 24 February 2021 (UTC)(discussiontools-replybutton)

newestComment: {
	"id": "c-Matma_Rex-2021-02-24T19:24:00.000Z-Heading_with_a_\"_quote",
	"timestamp": "2021-02-24T19:24:00.000Z",
	"author": "Matma Rex",
	"heading": {
		"headingLevel": 2,
		"name": "h-Matma_Rex-2021-02-24T19:24:00.000Z",
		"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"
		],
		"text": "Heading with a \" quote",
		"linkableTitle": "Heading with a \" quote"
	}
}
hasLedeContent
hasCommentsInLedeContent
{
	"wgDiscussionToolsPageThreads": [
		{
			"headingLevel": null,
			"name": "h-Matma_Rex-2021-02-24T19:24:00.000Z",
			"type": "heading",
			"level": 0,
			"id": "h--2021-02-24T19:24:00.000Z",
			"replies": [
				{
					"timestamp": "2021-02-24T19:24:00.000Z",
					"author": "Matma Rex",
					"type": "comment",
					"level": 1,
					"id": "c-Matma_Rex-2021-02-24T19:24:00.000Z",
					"replies": []
				}
			]
		},
		{
			"headingLevel": 2,
			"name": "h-Matma_Rex-2021-02-24T19:24:00.000Z",
			"type": "heading",
			"level": 0,
			"id": "h-Heading_with_a_\"_quote-2021-02-24T19:24:00.000Z",
			"replies": [
				{
					"timestamp": "2021-02-24T19:24:00.000Z",
					"author": "Matma Rex",
					"type": "comment",
					"level": 1,
					"id": "c-Matma_Rex-2021-02-24T19:24:00.000Z-Heading_with_a_\"_quote",
					"replies": []
				}
			]
		}
	]
}