mediawiki-extensions-Discus.../tests/cases/lrm-signature/lrm-signature.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

33 lines
583 B
JSON

[
{
"type": "heading",
"range": [
"0/1/0",
"0/1/2"
],
"headingLevel": 2,
"level": 0,
"id": "h|joods?",
"replies": [
{
"type": "comment",
"timestamp": "2017-12-28T15:32:00.000Z",
"author": "145.133.2.174",
"range": [
"0/3/0",
"0/5/1/8/26"
],
"signatureRanges": [
[
"0/5/1/3",
"0/5/1/8/26"
]
],
"level": 1,
"id": "c|145.133.2.174|2017-12-28T15:32:00.000Z|0",
"replies": []
}
]
}
]