mediawiki-extensions-Discus.../tests/cases/single-comment-heading/single-comment-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
658 B
JSON

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