mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-20 20:03:42 +00:00
79a62f539d
Change-Id: I4195f982d7071fea0d0334908535639a11cdcae9
78 lines
1.2 KiB
JSON
78 lines
1.2 KiB
JSON
[
|
|
{
|
|
"thread": {
|
|
"type": "heading",
|
|
"id": "Heading1",
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"id": "Eve1",
|
|
"author": "Eve",
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"id": "Bob1",
|
|
"author": "Bob",
|
|
"displayName": "Bobby",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "comment",
|
|
"author": "Bob",
|
|
"displayName": "Robert",
|
|
"id": "Bob2",
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"id": "Alice1",
|
|
"author": "Alice",
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"id": "Bob3",
|
|
"author": "Bob",
|
|
"displayName": "Bobby",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "comment",
|
|
"id": "Eve2",
|
|
"author": "Eve",
|
|
"replies": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"expectedAuthorsBelow": [
|
|
{
|
|
"username": "Alice",
|
|
"displayNames": []
|
|
},
|
|
{
|
|
"username": "Bob",
|
|
"displayNames": [
|
|
"Bobby",
|
|
"Robert"
|
|
]
|
|
},
|
|
{
|
|
"username": "Eve",
|
|
"displayNames": []
|
|
}
|
|
],
|
|
"expectedThreadItemIdsBelow": [
|
|
"Eve1",
|
|
"Bob1",
|
|
"Bob2",
|
|
"Alice1",
|
|
"Bob3",
|
|
"Eve2"
|
|
]
|
|
}
|
|
]
|