mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-29 05:16:27 +00:00
0ddc171c8a
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
34 lines
611 B
JSON
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": []
|
|
}
|
|
]
|
|
}
|
|
]
|