Focus area equivalent of T394355: Add Special:WishlistIntake to save and edit wishes
In the old gadget/bot-based system, we had a clunky system of manually creating focus areas. In the extension, we want auto-incrementing page titles (T392001), necessitating us to use the backend to create new focus areas.
Fortunately, with Special:WishlistIntake now fully functional, it should be straightforward to copy/refactor the code to do the same for focus areas.
Acceptance criteria
- Should be able to create new wishes using Special:EditFocusArea
- The wishes should be saved to Community Wishlist/Focus areas/FA123 where 123 is the auto-incrementing wish title (T392001)
- The Codex-styled success message should be shown after saving, just like as is done for wishes
- Should be able to edit a focus area by browsing to i.e. Special:EditFocusArea/F123.
Derived Requirement
Ensure that users can create and edit focus areas using Special:EditFocusArea, with each focus area saved to Community Wishlist/Focus areas/FA### using an auto-incrementing ID, and that a Codex-styled success message is displayed upon saving. Users must also be able to edit existing focus areas by navigating directly to Special:EditFocusArea/###.
Test Steps
Test Case 1: Ensure new focus area can be created via Special\:EditFocusArea
- Navigate to Special:EditFocusArea on the beta wiki.
- Fill in all required fields in the form.
- Submit the form.
- ✅❓❌⬜ AC1: Confirm that a new page is created at Community Wishlist/Focus areas/FA###, where ### is the next available number.
- ✅❓❌⬜ AC2: Confirm that a Codex-styled success message is shown after saving.
Test Case 2: Ensure focus area is saved to correct path with auto-incrementing title
- Submit a new focus area through Special:EditFocusArea.
- ✅❓❌⬜ AC3: Confirm that the page is saved under the correct path and follows the FA### naming convention.
Test Case 3: Ensure existing focus area can be edited using 'Edit with form' tab
- Navigate to an existing focus area page (e.g., Community Wishlist/Focus areas/FA123).
- Click the "Edit with form" tab.
- Make edits and submit.
- ✅❓❌⬜ AC4: Confirm that the changes are saved and reflected on the focus area page.
Test Case 4: Ensure existing focus area can be edited by visiting Special\:EditFocusArea/### directly
- Visit a known focus area (e.g., Community Wishlist/Focus areas/FA2).
- Navigate to Special:EditFocusArea/22.
- Make updates in the form and submit.
- ✅❓❌⬜ AC5: Confirm the updates are saved and reflected correctly on the corresponding focus area page.
QA Results -commtech.toolforge
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T397488#11063073 |
| 2 | ✅ | per T397488#11063108 |
| 3 | ✅ | T397488#11063073 |
| 4 | ✅ | T397488#11063073 |
| 5 | ✅ | T397488#11063073 |


