mediawiki-extensions-Discus.../tests/cases/no-heading/no-heading.json
Bartosz Dziewoński 0ddc171c8a Add oldest timestamp in the thread to heading IDs
To avoid old threads re-appearing on popular pages when someone
uses a vague title (e.g. dozens of threads titled "question" on
[[Wikipedia:Help desk]]: https://w.wiki/fbN), include the oldest
timestamp in the thread (i.e. date the thread was started) in the
heading ID.

Bug: T264478
Change-Id: If918bfd5e025248923d1939bc86916697ead95a0
2020-10-22 02:19:21 +02:00

34 lines
611 B
JSON

[
{
"placeholderHeading": true,
"type": "heading",
"range": [
"0",
"0"
],
"headingLevel": 99,
"level": 0,
"id": "h||2020-01-22T23:19:00.000Z",
"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": "c|Matma Rex|2020-01-22T23:19:00.000Z",
"replies": []
}
]
}
]