mediawiki-extensions-Discus.../tests/cases/no-heading/no-heading.json
Bartosz Dziewoński 3137d76f40 Connect sub-threads to their parent threads
Our threads now also contain all replies to their sub-threads.
This is similar to how sections work in MediaWiki, where the parent
section also contains the content of all the lower-level sections.
We're going to need this for notifications about replies in a thread.

Bug: T264478
Change-Id: I241fc58e2088a7555942824b0f184ed21e3a8b6f
2020-10-22 02:05:02 +02:00

34 lines
588 B
JSON

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