Page MenuHomePhabricator

Display link to wikitext diff when reporting a successful patch addition
Closed, ResolvedPublicFeature

Description

Feature summary: Add a link to the diff on https://wikitech.wikimedia.org/wiki/Deployments when a patch has been added

Use case(s): When you successfully add a patch to https://wikitech.wikimedia.org/wiki/Deployments via the Schedule Deployment tool, the message letting you know that it was successful should include a link to the diff on that Wikitech page, so that you can easily verify that it was added correctly.

Benefits: Gives an easy link to verify that the change was added, and also lets you see how many/which other patches are already in the same deployment window.

Event Timeline

bd808 renamed this task from Link diff to Display link to wikitext diff when reporting a successful patch addition.Jun 24 2024, 8:51 PM
bd808 subscribed.

This will need some template string escaping work to implement. The current render templates for flash messages HTML escape the message body on output. This would need to be changed to either use the |safe filter or, maybe better actually, have the source message wrapped in a markupsafe.Markup object to allow HTML content to pass through.

bd808 triaged this task as Medium priority.Jul 16 2024, 8:09 PM
bd808 changed the task status from Open to In Progress.Jul 29 2024, 1:38 AM
bd808 claimed this task.
bd808 moved this task from Ready to Go to Doing on the Tool-schedule-deployment board.

Mentioned in SAL (#wikimedia-cloud) [2024-07-29T01:56:48Z] <wmbot~bd808@tools-bastion-12> Built new image from 19588358 (T367948)

Mentioned in SAL (#wikimedia-cloud) [2024-07-29T01:57:22Z] <wmbot~bd808@tools-bastion-12> Restart to pick up new container image (T367948)