mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-29 05:16:27 +00:00
3137d76f40
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
34 lines
588 B
JSON
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": []
|
|
}
|
|
]
|
|
}
|
|
]
|