Steps to reproduce:
- go to https://test.wikipedia.beta.wmflabs.org/wiki/Special:Block and create a block for a user:
- set a custom duration
- choose a non-default reason, and enter some text for an additional reason
- select all the checkboxes under "Block details (optional)"
- un-select the "Automatically block the last IP address ..." checkbox
- select the "Watch this user's user and talk pages" checkbox
- create the block
- go to the Active Blocks list, and click the menu item to edit the user
- the block type is loaded ok, but everything else (duration, reason and all the checkboxes (including any of the checkboxes set during a partial block)) reverts to the default rather than what was set when creating the block
Derived Requirement
Ensure that when editing an existing block via the Special:Block page, all form fields (duration, reason, additional reason, checkboxes, and block details) reflect the values stored during the block creation process.
Test Steps
Test Case 1: Verify Consistency Across Form Fields for Edited Blocks
- Follow the steps from the task description.
- ✅❓❌⬜ AC1: Verify that all form fields (duration, reason, additional reason, checkboxes) display the values set during block creation without reverting to defaults.
QA Results - Test Wiki
AC | Status | Details |
---|---|---|
1 | ✅ | T380963#10415357 |