mediawiki-extensions-Discus.../tests/cases/single-comment-no-heading/single-comment-no-heading.json
Bartosz Dziewoński 01b253c5b6 Don't allow the root node to be treated like a comment frame
Also fix a bug where headings would be ignored while checking for
comment frames. See task for detailed explanation.

Bug: T303396
Change-Id: I6495826b4b050ea80680e0798ac6ab4497a7c09e
2022-03-10 17:45:08 +00:00

38 lines
639 B
JSON

[
{
"placeholderHeading": true,
"type": "heading",
"range": [
"0",
"0"
],
"headingLevel": 99,
"level": 0,
"name": "h-Matma_Rex-2020-01-22T23:19:00.000Z",
"id": "h--2020-01-22T23:19:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2020-01-22T23:19:00.000Z",
"author": "Matma Rex",
"range": [
"1/0",
"1/2/29"
],
"signatureRanges": [
[
"1/1",
"1/2/29"
]
],
"level": 1,
"name": "c-Matma_Rex-2020-01-22T23:19:00.000Z",
"id": "c-Matma_Rex-2020-01-22T23:19:00.000Z",
"warnings": [],
"replies": []
}
]
}
]