mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-03 12:37:02 +00:00
37257d68cf
When rebuilding expected outputs by running the tests with 'DISCUSSIONTOOLS_OVERWRITE_TESTS=1', our code outputs the JSON keys in a specific order (not alphabetical). Change-Id: Ice57948ef1d4b780ae18cfcbb2e7373f518c8abc
44 lines
673 B
JSON
44 lines
673 B
JSON
[
|
|
{
|
|
"placeholderHeading": false,
|
|
"type": "heading",
|
|
"range": [
|
|
"1/3/2/0",
|
|
"1/3/2/3"
|
|
],
|
|
"headingLevel": 2,
|
|
"level": 0,
|
|
"name": "h-Alice-20240130095300",
|
|
"id": "h-Hello-20240130095300",
|
|
"warnings": [],
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "20240130095300",
|
|
"author": "Alice",
|
|
"range": [
|
|
"3/2",
|
|
"3/12/0"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"3/3",
|
|
"3/8"
|
|
]
|
|
],
|
|
"timestampRanges": [
|
|
[
|
|
"3/7/0/0",
|
|
"3/7/0/28"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"name": "c-Alice-20240130095300",
|
|
"id": "c-Alice-20240130095300-Hello",
|
|
"warnings": [],
|
|
"replies": []
|
|
}
|
|
]
|
|
}
|
|
]
|