mediawiki-extensions-Discus.../tests/qunit/cases/lrm-signature/lrm-signature.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

32 lines
552 B
JSON

[
{
"type": "heading",
"range": [
"0/1/0",
"0/1/2"
],
"level": 0,
"id": null,
"replies": [
{
"type": "comment",
"timestamp": "2017-12-28T15:32:00.000Z",
"author": "145.133.2.174",
"range": [
"0/3/0",
"0/5/1/8/26"
],
"signatureRanges": [
[
"0/5/1/3",
"0/5/1/8/26"
]
],
"level": 1,
"id": "145.133.2.174|2017-12-28T15:32:00.000Z|0",
"replies": []
}
]
}
]