Page MenuHomePhabricator

[S] Include a link to the comment as provided by DiscussionTools when a user uses the Report link in the DiscussionTools overflow menu
Closed, ResolvedPublic

Description

Users using the Report link shown in the overflow menu in DiscussionTools will have the username for the report pre-filled and disabled as part of T338816. The comment that was reported will also be included, so this can be provided to the administrator dealing with the incident report.

User Stories

  • As a user I need to be able to include the comment/thread that is harmful in the report so that the responder can check it.
  • As a responder I need to be able to check the comments/threads that are being reported so that I can decide whether the case is valid.

Acceptance criteria:

  • Email with the report contains a link to the comment/thread being reported as provided by DiscussionTools

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 969110 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/ReportIncident@master] [WIP] Add DiscussionTools comment ID to link where possible

https://gerrit.wikimedia.org/r/969110

Dreamy_Jazz renamed this task from Include a link to the comment as provided by DiscussionTools when a user uses the Report link in the DiscussionTools overflow menu to [S] Include a link to the comment as provided by DiscussionTools when a user uses the Report link in the DiscussionTools overflow menu.Oct 30 2023, 4:39 PM

Change 969110 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@master] Add DiscussionTools thread ID to incident report

https://gerrit.wikimedia.org/r/969110

Test wiki created on Patch demo by DJacksonA using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/fb27d4dfac/w

Djackson-ctr subscribed.

Per the ticket Description, I have verified the new code has been implemented and is functioning and displaying as expected.
Testing was executed at https://patchdemo.wmflabs.org/wikis/fb27d4dfac/wiki/User_talk:Bob
Good Work @Dreamy_Jazz


Screenshot below is the DevTools-Console email contents when using Patch Demo and selecting a comment to report.

image.png (327×1 px, 43 KB)


Screenshot below is what displays after selecting the Link to Reported Comment that was included in the previous screenshot for Patch Demo.

image.png (687×1 px, 105 KB)


Screenshots below show the info from page 2 of the Report Incident that I was using for the above screenshots for Patch Demo.

image.png (890×681 px, 62 KB)

image.png (687×1 px, 127 KB)

Test wiki on Patch demo by DJacksonA using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/fb27d4dfac/w/