mediawiki-extensions-Discus.../tests/cases/fallback-encoding-link/fallback-encoding-link.json
Ed Sanders 3aca622894 Treat headings like comments now they have IDs
Use the same logic for marking ranges in the document, and ensure
that the heading range does not include section edit links or
section numberings.

Change-Id: I782caafc34fee2a822b0a17b24dd6b9528202eca
2020-10-28 12:38:18 +00:00

112 lines
2.5 KiB
JSON

[
{
"placeholderHeading": false,
"type": "heading",
"range": [
"0/1/1/0",
"0/1/1/2"
],
"headingLevel": 2,
"level": 0,
"id": "h|Katona_infobox_sablon_formátuma|2009-06-25T10:46:00.000Z",
"replies": [
{
"type": "comment",
"timestamp": "2009-06-25T10:46:00.000Z",
"author": "Akela",
"range": [
"0/3/0/0",
"0/4/5/31"
],
"signatureRanges": [
[
"0/4/2",
"0/4/5/31"
]
],
"level": 1,
"id": "c|Akela|2009-06-25T10:46:00.000Z|Katona_infobox_sablon_formátuma",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2009-06-25T11:01:00.000Z",
"author": "Hunyadym",
"range": [
"0/6/0/0",
"0/6/0/4/31"
],
"signatureRanges": [
[
"0/6/0/1",
"0/6/0/4/31"
]
],
"level": 2,
"id": "c|Hunyadym|2009-06-25T11:01:00.000Z|Akela|2009-06-25T10:46:00.000Z",
"warnings": [],
"replies": []
}
]
},
{
"type": "comment",
"timestamp": "2009-06-25T11:04:00.000Z",
"author": "Hunyadym",
"range": [
"0/8/0",
"0/8/6/31"
],
"signatureRanges": [
[
"0/8/3",
"0/8/6/31"
]
],
"level": 1,
"id": "c|Hunyadym|2009-06-25T11:04:00.000Z|Katona_infobox_sablon_formátuma",
"warnings": [],
"replies": []
},
{
"type": "comment",
"timestamp": "2009-06-25T11:07:00.000Z",
"author": "Hunyadym",
"range": [
"0/9/0",
"0/9/4/31"
],
"signatureRanges": [
[
"0/9/1",
"0/9/4/31"
]
],
"level": 1,
"id": "c|Hunyadym|2009-06-25T11:07:00.000Z|Katona_infobox_sablon_formátuma",
"warnings": [],
"replies": []
},
{
"type": "comment",
"timestamp": "2009-06-25T14:35:00.000Z",
"author": "Akela",
"range": [
"0/10/0",
"0/10/4/31"
],
"signatureRanges": [
[
"0/10/1",
"0/10/4/31"
]
],
"level": 1,
"id": "c|Akela|2009-06-25T14:35:00.000Z|Katona_infobox_sablon_formátuma",
"warnings": [],
"replies": []
}
]
}
]