mediawiki-extensions-Discus.../tests/cases/fake-headings/fake-headings.json
Bartosz Dziewoński 62766e846c Add test case for fake headings using wikitext ;
Bug: T265964
Change-Id: I31db66dc011b3d13dd46426f15286c5b3b5c9254
2022-02-12 00:35:02 +01:00

359 lines
8 KiB
JSON

[
{
"placeholderHeading": false,
"type": "heading",
"range": [
"0/0/1/0",
"0/0/1/1"
],
"headingLevel": 3,
"level": 0,
"name": "h-PuchaczTrado-2020-09-28T19:29:00.000Z",
"id": "h-Apostoł_Pawieł-2020-09-28T19:29:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2020-09-28T19:29:00.000Z",
"author": "PuchaczTrado",
"range": [
"0/2",
"0/5/6/27"
],
"signatureRanges": [
[
"0/5/3",
"0/5/6/27"
]
],
"level": 1,
"name": "c-PuchaczTrado-2020-09-28T19:29:00.000Z",
"id": "c-PuchaczTrado-2020-09-28T19:29:00.000Z-Apostoł_Pawieł",
"warnings": [],
"replies": []
},
{
"type": "comment",
"timestamp": "2020-09-30T21:50:00.000Z",
"author": "Pibwl",
"range": [
"0/7/0/0",
"0/8/0/8/26"
],
"signatureRanges": [
[
"0/8/0/5",
"0/8/0/8/26"
]
],
"level": 1,
"name": "c-Pibwl-2020-09-30T21:50:00.000Z",
"id": "c-Pibwl-2020-09-30T21:50:00.000Z-Apostoł_Pawieł",
"warnings": [
"Comment starts and ends with different indentation"
],
"replies": [
{
"type": "comment",
"timestamp": "2020-10-04T20:26:00.000Z",
"author": "PuchaczTrado",
"range": [
"0/8/0/9/0/0",
"0/8/0/9/0/4/26"
],
"signatureRanges": [
[
"0/8/0/9/0/1",
"0/8/0/9/0/4/26"
]
],
"level": 3,
"name": "c-PuchaczTrado-2020-10-04T20:26:00.000Z",
"id": "c-PuchaczTrado-2020-10-04T20:26:00.000Z-Pibwl-2020-09-30T21:50:00.000Z",
"warnings": [
"Comment skips indentation level"
],
"replies": []
},
{
"type": "comment",
"timestamp": "2020-10-15T17:57:00.000Z",
"author": "D kuba",
"range": [
"0/8/2/0",
"0/8/2/4/27"
],
"signatureRanges": [
[
"0/8/2/1",
"0/8/2/4/27"
]
],
"level": 2,
"name": "c-D_kuba-2020-10-15T17:57:00.000Z",
"id": "c-D_kuba-2020-10-15T17:57:00.000Z-Pibwl-2020-09-30T21:50:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2020-10-15T19:22:00.000Z",
"author": "PuchaczTrado",
"range": [
"0/8/2/5/0/0",
"0/8/2/5/0/6/27"
],
"signatureRanges": [
[
"0/8/2/5/0/3",
"0/8/2/5/0/6/27"
]
],
"level": 3,
"name": "c-PuchaczTrado-2020-10-15T19:22:00.000Z",
"id": "c-PuchaczTrado-2020-10-15T19:22:00.000Z-D_kuba-2020-10-15T17:57:00.000Z",
"warnings": [],
"replies": []
}
]
},
{
"type": "comment",
"timestamp": "2020-10-17T09:58:00.000Z",
"author": "D kuba",
"range": [
"0/8/4/0",
"0/8/4/4/27"
],
"signatureRanges": [
[
"0/8/4/1",
"0/8/4/4/27"
]
],
"level": 2,
"name": "c-D_kuba-2020-10-17T09:58:00.000Z",
"id": "c-D_kuba-2020-10-17T09:58:00.000Z-Pibwl-2020-09-30T21:50:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2020-10-17T11:18:00.000Z",
"author": "PuchaczTrado",
"range": [
"0/8/4/5/0/0",
"0/8/4/5/0/4/27"
],
"signatureRanges": [
[
"0/8/4/5/0/1",
"0/8/4/5/0/4/27"
]
],
"level": 3,
"name": "c-PuchaczTrado-2020-10-17T11:18:00.000Z",
"id": "c-PuchaczTrado-2020-10-17T11:18:00.000Z-D_kuba-2020-10-17T09:58:00.000Z",
"warnings": [],
"replies": []
}
]
}
]
},
{
"type": "comment",
"timestamp": "2020-10-17T09:58:00.000Z",
"author": "D kuba",
"range": [
"0/9/0/0",
"0/10/0/4/27"
],
"signatureRanges": [
[
"0/10/0/1",
"0/10/0/4/27"
]
],
"level": 1,
"name": "c-D_kuba-2020-10-17T09:58:00.000Z",
"id": "c-D_kuba-2020-10-17T09:58:00.000Z-Apostoł_Pawieł",
"warnings": [
"Comment starts and ends with different indentation"
],
"replies": [
{
"type": "comment",
"timestamp": "2020-10-17T11:01:00.000Z",
"author": "PuchaczTrado",
"range": [
"0/10/0/5/0/0",
"0/10/0/5/0/4/27"
],
"signatureRanges": [
[
"0/10/0/5/0/1",
"0/10/0/5/0/4/27"
]
],
"level": 3,
"name": "c-PuchaczTrado-2020-10-17T11:01:00.000Z",
"id": "c-PuchaczTrado-2020-10-17T11:01:00.000Z-D_kuba-2020-10-17T09:58:00.000Z",
"warnings": [
"Comment skips indentation level"
],
"replies": []
},
{
"type": "comment",
"timestamp": "2020-10-17T09:58:00.000Z",
"author": "D kuba",
"range": [
"0/10/2/0",
"0/10/2/4/27"
],
"signatureRanges": [
[
"0/10/2/1",
"0/10/2/4/27"
]
],
"level": 2,
"name": "c-D_kuba-2020-10-17T09:58:00.000Z",
"id": "c-D_kuba-2020-10-17T09:58:00.000Z-D_kuba-2020-10-17T09:58:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2020-10-17T10:58:00.000Z",
"author": "PuchaczTrado",
"range": [
"0/10/2/5/0/0",
"0/10/2/5/0/4/27"
],
"signatureRanges": [
[
"0/10/2/5/0/1",
"0/10/2/5/0/4/27"
]
],
"level": 3,
"name": "c-PuchaczTrado-2020-10-17T10:58:00.000Z",
"id": "c-PuchaczTrado-2020-10-17T10:58:00.000Z-D_kuba-2020-10-17T09:58:00.000Z",
"warnings": [],
"replies": []
}
]
}
]
},
{
"type": "comment",
"timestamp": "2020-09-30T22:08:00.000Z",
"author": "Pibwl",
"range": [
"0/11/0/0",
"0/12/0/6/25"
],
"signatureRanges": [
[
"0/12/0/3",
"0/12/0/6/25"
]
],
"level": 1,
"name": "c-Pibwl-2020-09-30T22:08:00.000Z",
"id": "c-Pibwl-2020-09-30T22:08:00.000Z-Apostoł_Pawieł",
"warnings": [
"Comment starts and ends with different indentation"
],
"replies": [
{
"type": "comment",
"timestamp": "2020-10-04T20:26:00.000Z",
"author": "PuchaczTrado",
"range": [
"0/12/0/7/0/0",
"0/12/0/7/0/4/26"
],
"signatureRanges": [
[
"0/12/0/7/0/1",
"0/12/0/7/0/4/26"
]
],
"level": 3,
"name": "c-PuchaczTrado-2020-10-04T20:26:00.000Z",
"id": "c-PuchaczTrado-2020-10-04T20:26:00.000Z-Pibwl-2020-09-30T22:08:00.000Z",
"warnings": [
"Comment skips indentation level"
],
"replies": []
}
]
},
{
"type": "comment",
"timestamp": "2020-10-09T10:34:00.000Z",
"author": "Zala",
"range": [
"0/13/0/0",
"0/18/0/3/26"
],
"signatureRanges": [
[
"0/18/0/0",
"0/18/0/3/26"
]
],
"level": 1,
"name": "c-Zala-2020-10-09T10:34:00.000Z",
"id": "c-Zala-2020-10-09T10:34:00.000Z-Apostoł_Pawieł",
"warnings": [
"Comment starts and ends with different indentation"
],
"replies": [
{
"type": "comment",
"timestamp": "2020-10-12T07:20:00.000Z",
"author": "PMG",
"range": [
"0/18/2/0/0",
"0/18/2/3/26"
],
"signatureRanges": [
[
"0/18/2/0",
"0/18/2/3/26"
]
],
"level": 2,
"name": "c-PMG-2020-10-12T07:20:00.000Z",
"id": "c-PMG-2020-10-12T07:20:00.000Z-Zala-2020-10-09T10:34:00.000Z",
"warnings": [],
"replies": []
},
{
"type": "comment",
"timestamp": "2020-10-28T18:53:00.000Z",
"author": "Nowy15",
"range": [
"0/18/4/0/0",
"0/18/4/3/26"
],
"signatureRanges": [
[
"0/18/4/0",
"0/18/4/3/26"
]
],
"level": 2,
"name": "c-Nowy15-2020-10-28T18:53:00.000Z",
"id": "c-Nowy15-2020-10-28T18:53:00.000Z-Zala-2020-10-09T10:34:00.000Z",
"warnings": [],
"replies": []
}
]
}
]
}
]