mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-29 02:25:44 +00:00
375bfe028e
Previously, parser would output offsets that don't exist in their containers, because we were pretending that entities are parts of their neighboring text nodes. Turns out it's much easier to do it right when going backwards. Change-Id: I9bccca2d403f1a976ae517449989170cdd99721e
531 lines
9.7 KiB
JSON
531 lines
9.7 KiB
JSON
[
|
|
{
|
|
"placeholderHeading": true,
|
|
"type": "heading",
|
|
"range": [
|
|
"0",
|
|
"0"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-04-21T22:51:00.000Z",
|
|
"author": "Johan (WMF)",
|
|
"range": [
|
|
"0/0/0/1/0/0/0/0",
|
|
"0/0/17/13/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/0/17/6",
|
|
"0/0/17/13/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "Johan (WMF)|2020-04-21T22:51:00.000Z|0",
|
|
"warnings": [
|
|
"Comment starts and ends with different indentation"
|
|
],
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-04-28T17:47:00.000Z",
|
|
"author": "Dyolf77 (WMF)",
|
|
"range": [
|
|
"0/0/19/0/0",
|
|
"0/0/19/17/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/0/19/10",
|
|
"0/0/19/17/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "Dyolf77 (WMF)|2020-04-28T17:47:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/0/0",
|
|
"0/1/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/4/0/0",
|
|
"0/1/4/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-04-29T14:08:00.000Z",
|
|
"author": "Dyolf77",
|
|
"range": [
|
|
"0/1/4/2/0",
|
|
"0/1/4/2/6/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/4/2/1",
|
|
"0/1/4/2/6/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "Dyolf77|2020-04-29T14:08:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/5/0/0",
|
|
"0/1/5/0/1"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-04-29T17:40:00.000Z",
|
|
"author": "Trabelsiismail",
|
|
"range": [
|
|
"0/1/5/2/0",
|
|
"0/1/5/2/8/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/5/2/1",
|
|
"0/1/5/2/8/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "Trabelsiismail|2020-04-29T17:40:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/6/0/0",
|
|
"0/1/6/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-04-29T22:55:00.000Z",
|
|
"author": "Nehaoua",
|
|
"range": [
|
|
"0/1/6/2/0",
|
|
"0/1/6/2/14/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/6/2/7",
|
|
"0/1/6/2/14/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "Nehaoua|2020-04-29T22:55:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/7/0/0",
|
|
"0/1/7/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/8/0/0",
|
|
"0/1/8/0/1"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-04-30T11:58:00.000Z",
|
|
"author": "Aws Al-mimari",
|
|
"range": [
|
|
"0/1/8/2/1",
|
|
"0/1/8/2/10/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/8/2/3",
|
|
"0/1/8/2/10/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "Aws Al-mimari|2020-04-30T11:58:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/9/0/0",
|
|
"0/1/9/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-04-30T14:00:00.000Z",
|
|
"author": "حسن سلمان الحسن",
|
|
"range": [
|
|
"0/1/9/2/0",
|
|
"0/1/9/2/8/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/9/2/1",
|
|
"0/1/9/2/8/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "حسن سلمان الحسن|2020-04-30T14:00:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/10/0/0",
|
|
"0/1/10/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/11/0/0",
|
|
"0/1/11/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/12/0/0",
|
|
"0/1/12/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-04-30T17:35:00.000Z",
|
|
"author": "Elsayed Taha",
|
|
"range": [
|
|
"0/1/12/2/0",
|
|
"0/1/12/2/8/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/12/2/1",
|
|
"0/1/12/2/8/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "Elsayed Taha|2020-04-30T17:35:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/13/0/0",
|
|
"0/1/13/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-04-30T17:46:00.000Z",
|
|
"author": "أبو تائب",
|
|
"range": [
|
|
"0/1/13/2/0",
|
|
"0/1/13/2/7/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/13/2/1",
|
|
"0/1/13/2/7/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "أبو تائب|2020-04-30T17:46:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/14/0/0",
|
|
"0/1/14/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/15/0/0",
|
|
"0/1/15/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/16/0/0",
|
|
"0/1/16/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-04-30T23:49:00.000Z",
|
|
"author": "Saif Oofa7",
|
|
"range": [
|
|
"0/1/16/2/0",
|
|
"0/1/16/4/8/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/16/4/1",
|
|
"0/1/16/4/8/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "Saif Oofa7|2020-04-30T23:49:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/17/0/0",
|
|
"0/1/17/0/1"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-05-01T12:00:00.000Z",
|
|
"author": "Mohanad Kh",
|
|
"range": [
|
|
"0/1/17/2/0",
|
|
"0/1/17/6/8/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/17/6/1",
|
|
"0/1/17/6/8/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "Mohanad Kh|2020-05-01T12:00:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/18/0/0",
|
|
"0/1/18/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-05-01T21:30:00.000Z",
|
|
"author": "أبو هشام",
|
|
"range": [
|
|
"0/1/18/2/0",
|
|
"0/1/18/2/8/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/18/2/1",
|
|
"0/1/18/2/8/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "أبو هشام|2020-05-01T21:30:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/19/0/0",
|
|
"0/1/19/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/20/0/0",
|
|
"0/1/20/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-05-02T03:01:00.000Z",
|
|
"author": "محمد بوعلام عصامي",
|
|
"range": [
|
|
"0/1/20/2/0",
|
|
"0/1/20/2/14/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/20/2/7",
|
|
"0/1/20/2/14/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "محمد بوعلام عصامي|2020-05-02T03:01:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/21/0/0",
|
|
"0/1/21/0/1"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/22/0/0",
|
|
"0/1/22/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/23/0/0",
|
|
"0/1/23/0/2"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": []
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/24/0/0",
|
|
"0/1/24/0/1"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-05-04T17:56:00.000Z",
|
|
"author": "Justwiki",
|
|
"range": [
|
|
"0/1/24/2/0",
|
|
"0/1/24/2/8/2"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/24/2/1",
|
|
"0/1/24/2/8/2"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "Justwiki|2020-05-04T17:56:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "heading",
|
|
"range": [
|
|
"0/1/25/0/0",
|
|
"0/1/25/0/1"
|
|
],
|
|
"level": 0,
|
|
"id": null,
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2020-05-05T09:36:00.000Z",
|
|
"author": "Abu aamir",
|
|
"range": [
|
|
"0/1/25/2/0",
|
|
"0/1/25/2/8/28"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"0/1/25/2/5",
|
|
"0/1/25/2/8/28"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"id": "Abu aamir|2020-05-05T09:36:00.000Z|0",
|
|
"replies": []
|
|
}
|
|
]
|
|
}
|
|
]
|