mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-18 11:02:57 +00:00
77614a2d02
Since times immemorial, and for reasons lost to history, our test code was adding an extra <div> wrapper before parsing the HTML used for tests. This wasn't a problem, until now, because I want to add some tests for T303396 that need to check that the *real* wrappers present in some test cases are handled correctly. Changes to test cases mostly remove a leading "0/" from serialized ranges, corresponding to removing the extra wrapper. Change-Id: Ia50e3590538c8cd274b02d2a937ba1a3fbb4ac89
119 lines
2.3 KiB
JSON
119 lines
2.3 KiB
JSON
[
|
|
{
|
|
"placeholderHeading": false,
|
|
"type": "heading",
|
|
"range": [
|
|
"1/1/0",
|
|
"1/1/2"
|
|
],
|
|
"headingLevel": 2,
|
|
"level": 0,
|
|
"name": "h-Akela-2009-06-25T10:46:00.000Z",
|
|
"id": "h-Katona_infobox_sablon_formátuma-2009-06-25T10:46:00.000Z",
|
|
"warnings": [],
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2009-06-25T10:46:00.000Z",
|
|
"author": "Akela",
|
|
"range": [
|
|
"3/0/0",
|
|
"4/5/31"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"4/2",
|
|
"4/5/31"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"name": "c-Akela-2009-06-25T10:46:00.000Z",
|
|
"id": "c-Akela-2009-06-25T10:46:00.000Z-Katona_infobox_sablon_formátuma",
|
|
"warnings": [],
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2009-06-25T11:01:00.000Z",
|
|
"author": "Hunyadym",
|
|
"range": [
|
|
"6/0/0",
|
|
"6/0/4/31"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"6/0/1",
|
|
"6/0/4/31"
|
|
]
|
|
],
|
|
"level": 2,
|
|
"name": "c-Hunyadym-2009-06-25T11:01:00.000Z",
|
|
"id": "c-Hunyadym-2009-06-25T11:01:00.000Z-Akela-2009-06-25T10:46:00.000Z",
|
|
"warnings": [],
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2009-06-25T11:04:00.000Z",
|
|
"author": "Hunyadym",
|
|
"range": [
|
|
"8/0",
|
|
"8/6/31"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"8/3",
|
|
"8/6/31"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"name": "c-Hunyadym-2009-06-25T11:04:00.000Z",
|
|
"id": "c-Hunyadym-2009-06-25T11:04:00.000Z-Katona_infobox_sablon_formátuma",
|
|
"warnings": [],
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2009-06-25T11:07:00.000Z",
|
|
"author": "Hunyadym",
|
|
"range": [
|
|
"9/0",
|
|
"9/4/31"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"9/1",
|
|
"9/4/31"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"name": "c-Hunyadym-2009-06-25T11:07:00.000Z",
|
|
"id": "c-Hunyadym-2009-06-25T11:07:00.000Z-Katona_infobox_sablon_formátuma",
|
|
"warnings": [],
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2009-06-25T14:35:00.000Z",
|
|
"author": "Akela",
|
|
"range": [
|
|
"10/0",
|
|
"10/4/31"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"10/1",
|
|
"10/4/31"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"name": "c-Akela-2009-06-25T14:35:00.000Z",
|
|
"id": "c-Akela-2009-06-25T14:35:00.000Z-Katona_infobox_sablon_formátuma",
|
|
"warnings": [],
|
|
"replies": []
|
|
}
|
|
]
|
|
}
|
|
]
|