Problem
The homepage and the paths to individual entities are defined by configuration. Configuration settings can't be referenced directly in i18n messages. This makes it hard to link to the wishlist pages from within the code.
Additionally, as an editor, one might forget the path to the wishlist, or want a way to link that works across all installations of CommunityRequests.
Acceptance criteria
- Create Special:Wishlist (and the alias Special:CommunityWishlist) that redirects to the homepage.
- When given a wikitext value (i.e Special:Wishlist/W123 or Special:Wishlist/FA4), it should redirect to the specified entity page
Derived Requirement
Create a special page named Special:Wishlist (with alias Special:CommunityWishlist) that automatically redirects to the configured Community Wishlist homepage. When a subpage value is provided (e.g., Special:Wishlist/W123 or Special:Wishlist/FA4), the special page must redirect to the corresponding entity page based on configuration, ensuring consistent navigation across all installations without requiring direct config references in i18n messages.
Test Steps
Test Case 1: Redirect Special:Wishlist to the Wishlist Homepage
- Navigate to Special:Wishlist on the wiki.
- Observe the resulting page.
- ✅❓❌⬜ AC1: Confirm that the page redirects to the configured Community Wishlist homepage.
Test Case 2: Redirect Special:CommunityWishlist to the Wishlist Homepage
- Navigate to Special:CommunityWishlist.
- Observe the resulting page.
- ✅❓❌⬜ AC2: Confirm that it redirects to the same homepage as Special:Wishlist.
Test Case 3: Redirect to a Wish Entity Page (e.g., W123)
- Navigate to Special:Wishlist/W123.
- Observe the redirected page.
- ✅❓❌⬜ AC3: Confirm that it redirects to the entity page for wish W123.
Test Case 4: Redirect to a Focus Area Entity Page (e.g., FA4)
- Navigate to Special:Wishlist/FA4.
- Observe the redirected page.
- ✅❓❌⬜ AC4: Confirm that it redirects to the entity page for focus area FA4.
Test Case 5: Support for Unknown or Invalid Entities
- Navigate to Special:Wishlist/Invalid123.
- Observe the handling behavior.
- ✅❓❌⬜ AC5: Confirm that the system applies the standard invalid-entity handling (e.g., showing an error or standard not-found page), with no unexpected failures.
QA Results - Meta Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T411844#11441310 |
| 2 | ✅ | T411844#11441310 |
| 3 | ✅ | T411844#11441310 |
| 4 | ✅ | T411844#11441310 |
| 5 | ✅ | T411844#11441373 |