Page MenuHomePhabricator

Open removal dialog when remove=1 is provided
Closed, ResolvedPublic

Description

When opening Special:Block with the remove parameter set, e.g. Special:Block?id=123&remove=1, the removal dialog should automatically open.

image.png (355×1 px, 50 KB)

The block details are not repeated in the removal dialog, but after T383846 it will be easier to see which block is being operated on.

Derived Requirement

Ensure that the removal dialog is automatically opened when the remove=1 parameter is provided in the URL on the Special:Block page.

Test Steps

Test Case 1: Ensure Removal Dialog Opens with remove=1 Parameter

  1. Open the Special:Block page with the URL Special:Block?id=123&remove=1.
  2. Verify that the removal dialog automatically opens.
  3. ✅❓❌⬜ AC1: Confirm that the removal dialog is displayed when the remove=1 parameter is included in the URL.

QA Results - Test Wiki

ACStatusDetails
1T383746#10480752

Details

Event Timeline

Change #1111879 had a related patch set uploaded (by Samwilson; author: Samwilson):

[mediawiki/core@master] SpecialBlock: Handle URL param remove=1 to open dialog

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

Change #1111879 merged by jenkins-bot:

[mediawiki/core@master] SpecialBlock: Handle URL param remove=1 to open dialog

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

GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF subscribed.

@Samwilson It is confirmed that the removal dialog is displayed when the remove=1 parameter is included in the URL as seen in the gif/screenshots. I will move this to Done. Thanks for all your work!

Test Result - test.wikipedia.beta.wmflabs.org

Status:
Environment: test.wikipedia.beta.wmflabs.org
OS: macOS Sequoia 15.2
Browser: Chrome 132
Device: MBA
Emulated Device: NA

Test Artifact(s):

https://test.wikipedia.beta.wmflabs.org/wiki/Special:Block/Betatester?id=303&remove=1

Test Steps

Test Case 1: Ensure Removal Dialog Opens with remove=1 Parameter

  1. Open the Special:Block page with the URL Special:Block?id=123&remove=1.
  2. Verify that the removal dialog automatically opens.
  3. AC1: Confirm that the removal dialog is displayed when the remove=1 parameter is included in the URL.
VectorMinervaMonobookTimeless
2025-01-21_08-57-58.mp4.gif (860×1 px, 741 KB)
2025-01-21_09-01-13.png (670×1 px, 92 KB)
2025-01-21_09-02-30.png (706×1 px, 145 KB)
2025-01-21_09-03-01.png (695×1 px, 123 KB)
GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF moved this task from QA to Done on the Community-Tech (Jackal (not a fox) Fox) board.