The labels on Special:WatchlistLabels are sorted alphabetically (if the user clicks to sort by that column, and after T410356 is finished), but on the filter list on Special:Watchlist they're not.
Derived Requirements
- The label filter list on Special:Watchlist must display labels sorted alphabetically.
- Alphabetical sorting must be consistent with the sorting behavior used on Special:WatchlistLabels.
- Sorting must be locale-aware and follow standard MediaWiki collation rules.
- The sorted order must be applied automatically without requiring user interaction, unless on Special:Watchlist.
- Label sorting must not affect existing watchlist filtering functionality.
Test Steps
Test Case 1: Alphabetical Sorting of Label Filter List
Preconditions
- The user is logged in.
- Multiple watchlist labels exist with non-alphabetical names (for example: Zeta, Alpha, Beta).
- Navigate to Special:Watchlist.
- Locate the labels filter list.
- Observe the order in which labels are displayed.
- ✅❓❌⬜ AC1: Verify that labels in the filter list are displayed in strict alphabetical order according to locale-aware collation.
Test Case 2: Consistency With Special:WatchlistLabels Sorting
Preconditions
- Same labels exist on both Special:Watchlist and Special:WatchlistLabels.
- Navigate to Special:WatchlistLabels.
- Observe the alphabetical order of labels after you sort it.
- Navigate back to Special:Watchlist.
- Compare the label ordering in the filter list.
- ✅❓❌⬜ AC2: Verify that the alphabetical order of labels on Special:Watchlist matches the ordering used on Special:WatchlistLabels.
Test Case 3: Automatic Sorting Without User Interaction
Preconditions
- Same as Test Case 1.
- Navigate to Special:Watchlist.
- Do not interact with sorting or filtering controls.
- Observe the label filter list on initial page load.
- ✅❓❌⬜ AC3: Verify that labels are already sorted alphabetically on page load without requiring any user action.
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T412887#11527028 |
| 2 | ✅ | T412887#11527028 |
| 3 | ✅ | T412887#11527028 |



