mediawiki-extensions-Discus.../tests/cases/tracked-template/tracked-template.json
Bartosz Dziewoński 3a9997d6ea Improve handling for comment separators
* Detect comment separators at the end of comments too
* Consider TemplateStyles associated with ignored templates

This unexpectedly improves a lot of cases other than T313097 too,
mostly where <br> or {{outdent}} was used within a paragraph:
splitting comments that were previously jumbled together, or restoring
content that was previously ignored for apps / notifications.

Bug: T313097
Change-Id: I9b2ef6b760f2ffd97141ad7000f70919aeab7803
2023-01-10 01:59:52 +00:00

157 lines
3.5 KiB
JSON

[
{
"placeholderHeading": false,
"type": "heading",
"range": [
"1/0/0",
"1/0/2"
],
"headingLevel": 2,
"level": 0,
"name": "h-FrankieRayRobertson-2020-12-21T13:38:00.000Z",
"id": "h-How_to_authenticate_to_Wikimedia_Commons_Query_Service_using_OAuth_in_Python?-2020-12-21T13:38:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2020-12-21T13:38:00.000Z",
"author": "FrankieRayRobertson",
"range": [
"1/2/0",
"1/2/6/31"
],
"signatureRanges": [
[
"1/2/3",
"1/2/6/31"
]
],
"level": 1,
"name": "c-FrankieRayRobertson-2020-12-21T13:38:00.000Z",
"id": "c-FrankieRayRobertson-2020-12-21T13:38:00.000Z-How_to_authenticate_to_Wikimedia_Commons_Query_Service_using_OAuth_in_Python?",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2021-01-04T06:55:00.000Z",
"author": "Zache",
"range": [
"1/4/0/0/0",
"1/4/0/5/29"
],
"signatureRanges": [
[
"1/4/0/2",
"1/4/0/5/29"
]
],
"level": 2,
"name": "c-Zache-2021-01-04T06:55:00.000Z",
"id": "c-Zache-2021-01-04T06:55:00.000Z-FrankieRayRobertson-2020-12-21T13:38:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2021-02-13T18:31:00.000Z",
"author": "Multichill",
"range": [
"1/4/0/6/0/0/0",
"1/4/0/6/0/8/31"
],
"signatureRanges": [
[
"1/4/0/6/0/5",
"1/4/0/6/0/8/31"
]
],
"level": 3,
"name": "c-Multichill-2021-02-13T18:31:00.000Z",
"id": "c-Multichill-2021-02-13T18:31:00.000Z-Zache-2021-01-04T06:55:00.000Z",
"warnings": [],
"replies": []
}
]
}
]
}
]
},
{
"placeholderHeading": false,
"type": "heading",
"range": [
"2/0/0",
"2/0/2"
],
"headingLevel": 2,
"level": 0,
"name": "h-Marsupium-2021-12-28T00:30:00.000Z",
"id": "h-HTTP_500,_server_down?-2021-12-28T00:30:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2021-12-28T00:30:00.000Z",
"author": "Marsupium",
"range": [
"2/2/0",
"2/6/4/31"
],
"signatureRanges": [
[
"2/6/1",
"2/6/4/31"
]
],
"level": 1,
"name": "c-Marsupium-2021-12-28T00:30:00.000Z",
"id": "c-Marsupium-2021-12-28T00:30:00.000Z-HTTP_500,_server_down?",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2021-12-31T11:48:00.000Z",
"author": "Shisma",
"range": [
"2/8/0/0/0",
"2/8/0/5/31"
],
"signatureRanges": [
[
"2/8/0/2",
"2/8/0/5/31"
]
],
"level": 2,
"name": "c-Shisma-2021-12-31T11:48:00.000Z",
"id": "c-Shisma-2021-12-31T11:48:00.000Z-Marsupium-2021-12-28T00:30:00.000Z",
"warnings": [],
"replies": [
{
"type": "comment",
"timestamp": "2021-12-31T12:19:00.000Z",
"author": "Marsupium",
"range": [
"2/8/0/9/0/0",
"2/8/0/9/0/4/31"
],
"signatureRanges": [
[
"2/8/0/9/0/1",
"2/8/0/9/0/4/31"
]
],
"level": 3,
"name": "c-Marsupium-2021-12-31T12:19:00.000Z",
"id": "c-Marsupium-2021-12-31T12:19:00.000Z-Shisma-2021-12-31T11:48:00.000Z",
"warnings": [],
"replies": []
}
]
}
]
}
]
}
]