mediawiki-extensions-Discus.../tests/qunit/cases/fallback-encoding-link/fallback-encoding-link.json
Bartosz Dziewoński 0ca851aa92 parser: Return signature and timestamp ranges
Currently not used for anything. May be used later for editing
comments (T245225) or reformatting timestamps (T240360).

Note that a comment may have multiple signatures+timestamps,
and we return them all so that you have to deal with that.

Fix some unrelated incorrect documentation comments.

Bug: T245220
Change-Id: I51b8bf4a3bb7968f35e32c7e44c95c2ab079d9ac
2020-03-05 14:28:17 +01:00

105 lines
2.2 KiB
JSON

[
{
"type": "heading",
"range": [
"0/1/0",
"0/1/2"
],
"level": 0,
"id": null,
"replies": [
{
"type": "comment",
"timestamp": "2009-06-25T10:46:00.000Z",
"author": "Akela",
"range": [
"0/3/0/0",
"0/4/5/31"
],
"signatureRanges": [
[
"0/4/2",
"0/4/5/31"
]
],
"level": 1,
"id": "Akela|2009-06-25T10:46:00.000Z|0",
"replies": [
{
"type": "comment",
"timestamp": "2009-06-25T11:01:00.000Z",
"author": "Hunyadym",
"range": [
"0/6/0/0",
"0/6/0/4/31"
],
"signatureRanges": [
[
"0/6/0/1",
"0/6/0/4/31"
]
],
"level": 2,
"id": "Hunyadym|2009-06-25T11:01:00.000Z|0",
"replies": []
}
]
},
{
"type": "comment",
"timestamp": "2009-06-25T11:04:00.000Z",
"author": "Hunyadym",
"range": [
"0/8/0",
"0/8/6/31"
],
"signatureRanges": [
[
"0/8/3",
"0/8/6/31"
]
],
"level": 1,
"id": "Hunyadym|2009-06-25T11:04:00.000Z|0",
"replies": []
},
{
"type": "comment",
"timestamp": "2009-06-25T11:07:00.000Z",
"author": "Hunyadym",
"range": [
"0/9/0",
"0/9/4/31"
],
"signatureRanges": [
[
"0/9/1",
"0/9/4/31"
]
],
"level": 1,
"id": "Hunyadym|2009-06-25T11:07:00.000Z|0",
"replies": []
},
{
"type": "comment",
"timestamp": "2009-06-25T14:35:00.000Z",
"author": "Akela",
"range": [
"0/10/0",
"0/10/4/31"
],
"signatureRanges": [
[
"0/10/1",
"0/10/4/31"
]
],
"level": 1,
"id": "Akela|2009-06-25T14:35:00.000Z|0",
"replies": []
}
]
}
]