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

33 lines
562 B
JSON

[
{
"placeholderHeading": true,
"type": "heading",
"range": [
"0",
"0"
],
"level": 0,
"id": null,
"replies": [
{
"type": "comment",
"timestamp": "2020-01-22T23:19:00.000Z",
"author": "Matma Rex",
"range": [
"0/1/0",
"0/1/2/29"
],
"signatureRanges": [
[
"0/1/1",
"0/1/2/29"
]
],
"level": 1,
"id": "Matma Rex|2020-01-22T23:19:00.000Z|0",
"replies": []
}
]
}
]