mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-20 20:03:42 +00:00
92f5cfd821
This can be done within sections using CSS: * mw-notalk Or at a page level using a magic word: * __NOTALK__ "notalk" suppresses all comment detection, treating the content as not containing any comments even if there are signatures present. Bug: T295553 Bug: T249293 Change-Id: Ic1d7294bafcf7071e16838e70684ecadd7bc6fd3
207 lines
4.2 KiB
JSON
207 lines
4.2 KiB
JSON
[
|
|
{
|
|
"placeholderHeading": false,
|
|
"type": "heading",
|
|
"range": [
|
|
"1/0/0",
|
|
"1/0/1"
|
|
],
|
|
"headingLevel": 2,
|
|
"level": 0,
|
|
"name": "h-",
|
|
"id": "h-No_talk_section",
|
|
"warnings": [],
|
|
"replies": []
|
|
},
|
|
{
|
|
"placeholderHeading": false,
|
|
"type": "heading",
|
|
"range": [
|
|
"5/1/0/0",
|
|
"5/1/0/1"
|
|
],
|
|
"headingLevel": 2,
|
|
"level": 0,
|
|
"name": "h-DTDummyUserAlice-2022-03-10T14:30:00.000Z",
|
|
"id": "h-Archived_section-2022-03-10T14:30:00.000Z",
|
|
"warnings": [],
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2022-03-10T14:30:00.000Z",
|
|
"author": "DTDummyUserAlice",
|
|
"range": [
|
|
"5/3/0",
|
|
"5/3/4/28"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"5/3/1",
|
|
"5/3/4/28"
|
|
]
|
|
],
|
|
"timestampRanges": [
|
|
[
|
|
"5/3/4/2",
|
|
"5/3/4/28"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"name": "c-DTDummyUserAlice-2022-03-10T14:30:00.000Z",
|
|
"id": "c-DTDummyUserAlice-2022-03-10T14:30:00.000Z-Archived_section",
|
|
"warnings": [],
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2022-03-10T14:40:00.000Z",
|
|
"author": "DTDummyUserBob",
|
|
"range": [
|
|
"5/5/0/0",
|
|
"5/5/0/4/28"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"5/5/0/1",
|
|
"5/5/0/4/28"
|
|
]
|
|
],
|
|
"timestampRanges": [
|
|
[
|
|
"5/5/0/4/2",
|
|
"5/5/0/4/28"
|
|
]
|
|
],
|
|
"level": 2,
|
|
"name": "c-DTDummyUserBob-2022-03-10T14:40:00.000Z",
|
|
"id": "c-DTDummyUserBob-2022-03-10T14:40:00.000Z-DTDummyUserAlice-2022-03-10T14:30:00.000Z",
|
|
"warnings": [],
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2022-03-10T14:50:00.000Z",
|
|
"author": "DTDummyUserEve",
|
|
"range": [
|
|
"5/5/0/5/0/0",
|
|
"5/5/0/5/0/4/28"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"5/5/0/5/0/1",
|
|
"5/5/0/5/0/4/28"
|
|
]
|
|
],
|
|
"timestampRanges": [
|
|
[
|
|
"5/5/0/5/0/4/2",
|
|
"5/5/0/5/0/4/28"
|
|
]
|
|
],
|
|
"level": 3,
|
|
"name": "c-DTDummyUserEve-2022-03-10T14:50:00.000Z",
|
|
"id": "c-DTDummyUserEve-2022-03-10T14:50:00.000Z-DTDummyUserBob-2022-03-10T14:40:00.000Z",
|
|
"warnings": [],
|
|
"replies": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"placeholderHeading": false,
|
|
"type": "heading",
|
|
"range": [
|
|
"7/0/0",
|
|
"7/0/1"
|
|
],
|
|
"headingLevel": 2,
|
|
"level": 0,
|
|
"name": "h-DTDummyUserAlice-2022-03-10T15:30:00.000Z",
|
|
"id": "h-Normal_talk_section-2022-03-10T15:30:00.000Z",
|
|
"warnings": [],
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2022-03-10T15:30:00.000Z",
|
|
"author": "DTDummyUserAlice",
|
|
"range": [
|
|
"9/0",
|
|
"9/4/28"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"9/1",
|
|
"9/4/28"
|
|
]
|
|
],
|
|
"timestampRanges": [
|
|
[
|
|
"9/4/2",
|
|
"9/4/28"
|
|
]
|
|
],
|
|
"level": 1,
|
|
"name": "c-DTDummyUserAlice-2022-03-10T15:30:00.000Z",
|
|
"id": "c-DTDummyUserAlice-2022-03-10T15:30:00.000Z-Normal_talk_section",
|
|
"warnings": [],
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2022-03-10T15:40:00.000Z",
|
|
"author": "DTDummyUserBob",
|
|
"range": [
|
|
"11/0/0",
|
|
"11/0/4/28"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"11/0/1",
|
|
"11/0/4/28"
|
|
]
|
|
],
|
|
"timestampRanges": [
|
|
[
|
|
"11/0/4/2",
|
|
"11/0/4/28"
|
|
]
|
|
],
|
|
"level": 2,
|
|
"name": "c-DTDummyUserBob-2022-03-10T15:40:00.000Z",
|
|
"id": "c-DTDummyUserBob-2022-03-10T15:40:00.000Z-DTDummyUserAlice-2022-03-10T15:30:00.000Z",
|
|
"warnings": [],
|
|
"replies": [
|
|
{
|
|
"type": "comment",
|
|
"timestamp": "2022-03-10T15:50:00.000Z",
|
|
"author": "DTDummyUserEve",
|
|
"range": [
|
|
"11/0/5/0/0",
|
|
"11/0/5/0/4/28"
|
|
],
|
|
"signatureRanges": [
|
|
[
|
|
"11/0/5/0/1",
|
|
"11/0/5/0/4/28"
|
|
]
|
|
],
|
|
"timestampRanges": [
|
|
[
|
|
"11/0/5/0/4/2",
|
|
"11/0/5/0/4/28"
|
|
]
|
|
],
|
|
"level": 3,
|
|
"name": "c-DTDummyUserEve-2022-03-10T15:50:00.000Z",
|
|
"id": "c-DTDummyUserEve-2022-03-10T15:50:00.000Z-DTDummyUserBob-2022-03-10T15:40:00.000Z",
|
|
"warnings": [],
|
|
"replies": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|