mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-11 00:02:43 +00:00
80704b6e80
Adding test cases in a separate commit to make it easier to review how the test results change after I98fbca8e. * For mentions, the 'mentioned-users' extra parameter is copied to our event (which is then used to avoid duplicate notifications). * For user talk page edit, nothing special happens right now (we use the target page title to avoid duplicate notifications, but this is not apparent from the test case, since page titles are not present). Bug: T281590 Bug: T253082 Change-Id: I153e7735f63f1e2643ed881281d807313cd699c3
16 lines
186 B
JSON
16 lines
186 B
JSON
[
|
|
{
|
|
"type": "mention",
|
|
"title": {},
|
|
"extra": {
|
|
"content": "@User:Z D.",
|
|
"section-title": "C",
|
|
"revid": 0,
|
|
"mentioned-users": {
|
|
"1": 1
|
|
}
|
|
},
|
|
"agent": {}
|
|
}
|
|
]
|