As part of T328936, the confirmation step decides whether to use the desktop or mobile editor depending on the platform. In T337917, fixes were made to make sure that on the mobile site (with a ".m" in the url), the mobile editor is used (even if the viewport is wider).
However, currently on desktop the unified dashboard seems to redirect to editors based on the viewport size. That is, on a narrow window, the user is taken to the mobile editor (to an infinite loading state, maybe because some inconsistencies in the platform detection assumptions).
This ticket proposes to make sure the desktop editor is used on the desktop site regardless of the viewport size. Given that it is not possible to transition seamlessly between the mobile and desktop editors when adjusting the window size, it is preferred to provide each editor based on platform detection.`
Derived Requirement
Ensure that the desktop editor is always used on the desktop site, regardless of viewport size, to prevent incorrect redirections to the mobile editor.
Test Steps
Test Case 1: Ensure desktop editor is used on desktop site regardless of viewport size
- Open Wikipedia on a desktop browser and navigate to the desktop site (ensure no ".m" in the URL).
- Initiate an edit action to open the editor.
- ✅❓❌⬜ AC1: Confirm that the desktop editor loads.
- Resize the browser window to a narrow viewport.
- ✅❓❌⬜ AC2: Confirm that the editor remains the desktop editor without switching to the mobile editor or entering an infinite loading state.
Test Case 2: Ensure mobile editor is used on mobile site regardless of viewport size
- Open Wikipedia on a mobile browser or manually navigate to the mobile site (with ".m" in the URL).
- Initiate an edit action to open the editor.
- ✅❓❌⬜ AC3: Confirm that the mobile editor loads.
- Resize the browser window to a wider viewport.
- ✅❓❌⬜ AC4: Confirm that the editor remains the mobile editor without switching to the desktop editor.
QA Results - Test Wiki
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T387004#10635139 |
| 2 | ✅ | T387004#10635139 |
| 3 | ✅ | T387004#10635139 |
| 4 | ✅ | T387004#10635139 |




