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
33 lines
583 B
JSON
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": []
|
|
}
|
|
]
|
|
}
|
|
]
|