mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-22 12:53:35 +00:00
435b0c65c7
If the user talk edit or mention coincides with exactly one new comment: * Change the primary link to be a direct link to the comment * Add a text snippet to notifications that don't already include one (user talk edits that are not new sections). This is done for all such notifications, regardless of whether anyone has topic subscriptions enabled. Bug: T281590 Bug: T253082 Change-Id: I98fbca8e57845cd7c82ad533c393db953e4e5643
34 lines
656 B
JSON
34 lines
656 B
JSON
[
|
|
{
|
|
"type": "mention",
|
|
"title": [],
|
|
"extra": {
|
|
"content": "@User:Z D.",
|
|
"section-title": "C",
|
|
"revid": 0,
|
|
"mentioned-users": {
|
|
"1": 1
|
|
},
|
|
"comment-id": "c-Y-2020-01-01T00:02:00.000Z-C",
|
|
"comment-name": "c-Y-2020-01-01T00:02:00.000Z"
|
|
},
|
|
"agent": []
|
|
},
|
|
{
|
|
"type": "dt-subscribed-new-comment",
|
|
"title": {},
|
|
"extra": {
|
|
"subscribed-comment-name": "h-Y-2020-01-01T00:02:00.000Z",
|
|
"comment-id": "c-Y-2020-01-01T00:02:00.000Z-C",
|
|
"comment-name": "c-Y-2020-01-01T00:02:00.000Z",
|
|
"content": "@User:Z D.",
|
|
"section-title": "C",
|
|
"revid": null,
|
|
"mentioned-users": {
|
|
"1": 1
|
|
}
|
|
},
|
|
"agent": {}
|
|
}
|
|
]
|