mediawiki-extensions-Discus.../tests/cases/signatures-funny/signatures-funny.json
Bartosz Dziewoński 1626242863 Don't detect comments within headings
Bug: T267068
Change-Id: Id134f15e086fd070801c4b1d836dbfbf9bf444ad
2020-11-04 21:57:33 +01:00

260 lines
6.6 KiB
JSON

[
{
"placeholderHeading": false,
"type": "heading",
"range": [
"0/0/0",
"0/0/1"
],
"headingLevel": 2,
"level": 0,
"id": "h|multi_signatures|2020-01-25T08:31:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2020-01-25T08:31:00.000Z",
"author": "Matma Rex",
"range": [
"0/1/0/0",
"2/4/29"
],
"signatureRanges": [
[
"2/1",
"2/2/29"
],
[
"2/3",
"2/4/29"
]
],
"level": 1,
"id": "c|Matma Rex|2020-01-25T08:31:00.000Z|multi_signatures",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2020-01-25T08:32:00.000Z",
"author": "Matma Rex",
"range": [
"4/0/0",
"4/0/2/29"
],
"signatureRanges": [
[
"4/0/1",
"4/0/2/29"
]
],
"level": 2,
"id": "c|Matma Rex|2020-01-25T08:32:00.000Z|Matma Rex|2020-01-25T08:31:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2020-01-25T08:33:00.000Z",
"author": "Matma Rex",
"range": [
"4/0/3/0/0",
"4/0/3/0/4/29"
],
"signatureRanges": [
[
"4/0/3/0/1",
"4/0/3/0/2/29"
],
[
"4/0/3/0/3",
"4/0/3/0/4/29"
]
],
"level": 3,
"id": "c|Matma Rex|2020-01-25T08:33:00.000Z|Matma Rex|2020-01-25T08:32:00.000Z",
"warnings": [],
"replies": []
}
]
}
]
},
{
"type": "comment",
"timestamp": "2020-01-25T08:34:00.000Z",
"author": "Matma Rex",
"range": [
"6/0",
"6/2/29"
],
"signatureRanges": [
[
"6/1",
"6/2/29"
]
],
"level": 1,
"id": "c|Matma Rex|2020-01-25T08:34:00.000Z|multi_signatures",
"warnings": [],
"replies": []
},
{
"type": "comment",
"timestamp": "2020-01-25T08:34:00.000Z",
"author": "Matma Rex",
"range": [
"7/0",
"7/2/29"
],
"signatureRanges": [
[
"7/1",
"7/2/29"
]
],
"level": 1,
"id": "c|Matma Rex|2020-01-25T08:34:00.000Z|multi_signatures|1",
"warnings": [
"Duplicate comment ID"
],
"replies": [
{
"type": "comment",
"timestamp": "2020-01-25T08:35:00.000Z",
"author": "Matma Rex",
"range": [
"9/0/0",
"9/0/4/29"
],
"signatureRanges": [
[
"9/0/1",
"9/0/2/29"
],
[
"9/0/3",
"9/0/4/29"
]
],
"level": 2,
"id": "c|Matma Rex|2020-01-25T08:35:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z",
"warnings": [],
"replies": []
},
{
"type": "comment",
"timestamp": "2020-01-25T08:36:00.000Z",
"author": "Matma Rex",
"range": [
"9/2/0",
"9/2/2/29"
],
"signatureRanges": [
[
"9/2/1",
"9/2/2/29"
]
],
"level": 2,
"id": "c|Matma Rex|2020-01-25T08:36:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z",
"warnings": [],
"replies": []
},
{
"type": "comment",
"timestamp": "2020-01-25T08:37:00.000Z",
"author": "Matma Rex",
"range": [
"9/4/0",
"9/4/4/1"
],
"signatureRanges": [
[
"9/4/1",
"9/4/2/29"
]
],
"level": 2,
"id": "c|Matma Rex|2020-01-25T08:37:00.000Z|Matma Rex|2020-01-25T08:34:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2020-01-25T08:38:00.000Z",
"author": "Matma Rex",
"range": [
"9/4/5/0/0",
"9/4/5/0/2/29"
],
"signatureRanges": [
[
"9/4/5/0/1",
"9/4/5/0/2/29"
]
],
"level": 3,
"id": "c|Matma Rex|2020-01-25T08:38:00.000Z|Matma Rex|2020-01-25T08:37:00.000Z",
"warnings": [],
"replies": []
},
{
"type": "comment",
"timestamp": "2020-01-25T08:38:00.000Z",
"author": "Matma Rex",
"range": [
"9/4/5/2/0",
"9/4/5/2/2/29"
],
"signatureRanges": [
[
"9/4/5/2/1",
"9/4/5/2/2/29"
]
],
"level": 3,
"id": "c|Matma Rex|2020-01-25T08:38:00.000Z|Matma Rex|2020-01-25T08:37:00.000Z|1",
"warnings": [
"Duplicate comment ID"
],
"replies": []
}
]
}
]
}
]
},
{
"placeholderHeading": false,
"type": "heading",
"range": [
"11/1/0",
"11/1/5"
],
"headingLevel": 2,
"level": 0,
"id": "h|hello_Matma_Rex_(talk)_18:27,_2_November_2020_(UTC)|2020-11-02T18:28:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2020-11-02T18:28:00.000Z",
"author": "Matma Rex",
"range": [
"11/2/0/0",
"13/4/30"
],
"signatureRanges": [
[
"13/1",
"13/4/30"
]
],
"level": 1,
"id": "c|Matma Rex|2020-11-02T18:28:00.000Z|hello_Matma_Rex_(talk)_18:27,_2_November_2020_(UTC)",
"warnings": [],
"replies": []
}
]
}
]